@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/dropdown.js CHANGED
@@ -1,5 +1,5 @@
1
- import { D as r } from "./dropdown-a99520ba.js";
2
- import { a as l } from "./dropdown-a99520ba.js";
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 B } from "react/jsx-runtime";
2
- import { forwardRef as W, useRef as X, useId as Y, useState as E } from "react";
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 = "_collapsed_1k31n_13", rn = "_field_1k31n_25", ln = "_placeholder_1k31n_50", dn = "_disabled_1k31n_53", _n = "_error_1k31n_56", pn = "_touched_1k31n_56", un = "_input_1k31n_75", mn = "_icon_1k31n_1", fn = "_text_1k31n_173", hn = {
11
- "icon-container": "_icon-container_1k31n_1",
12
- "icon-container-additional": "_icon-container-additional_1k31n_1",
13
- "icon-container-end": "_icon-container-end_1k31n_1",
14
- "icon-container-start": "_icon-container-start_1k31n_1",
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-width_1k31n_37",
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-display_1k31n_63",
23
- "input-container": "_input-container_1k31n_75",
24
- "type-password": "_type-password_1k31n_79",
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-icon_1k31n_83",
26
+ "eye-icon": "_eye-icon_18d9y_81",
27
27
  icon: mn,
28
- "start-icon": "_start-icon_1k31n_129",
29
- "clear-icon": "_clear-icon_1k31n_130",
30
- "additional-content": "_additional-content_1k31n_166",
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-text_1k31n_193",
33
- "help-text": "_help-text_1k31n_197"
34
- }, e = Z.bind(hn), Mn = W(
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: b,
38
- classNameHelpText: v,
37
+ className: v,
38
+ classNameHelpText: C,
39
39
  error: r,
40
40
  placeholder: u,
41
41
  disabled: a = !1,
42
- onChange: C,
42
+ onChange: T,
43
43
  touched: m = !1,
44
- title: T,
44
+ title: V,
45
45
  label: l,
46
46
  helpText: d,
47
- defaultWidth: V = !0,
47
+ defaultWidth: k = !0,
48
48
  startIcon: f,
49
49
  endIcon: h,
50
50
  clearable: I = !1,
51
- onClear: k,
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, y] = E(!1), [g, S] = E(!1), G = (t) => {
66
- y(!0), O(t);
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
- y(!1), U(t);
68
+ g(!1), U(t);
69
69
  }, K = () => {
70
70
  var t;
71
- k && (k(o), (t = _.current) == null || t.focus());
72
- }, F = P && r && m, D = /* @__PURE__ */ n("span", { className: e("text", "help-text", v), children: d }), Q = () => c !== "password" ? c : g ? "text" : "password", M = (t) => {
73
- t.preventDefault(), S(!0);
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(), S(!1);
75
+ t.preventDefault(), F(!1);
76
76
  };
77
- return /* @__PURE__ */ s(B, { children: [
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", b, {
82
+ className: e("field", v, {
83
83
  error: r,
84
84
  touched: m,
85
85
  disabled: a,
86
- "default-width": V,
86
+ "default-width": k,
87
87
  collapsed: R && !N && !o
88
88
  }),
89
- title: T,
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: C,
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: M,
122
+ onMouseDown: B,
123
123
  onMouseLeave: i,
124
124
  onMouseUp: i,
125
- onTouchStart: M,
125
+ onTouchStart: B,
126
126
  onTouchEnd: i,
127
127
  onTouchCancel: i,
128
- children: g ? /* @__PURE__ */ n(nn, {}) : /* @__PURE__ */ n(en, {})
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
- (F || d) && /* @__PURE__ */ n("div", { className: e("additional-content", { disabled: a }), children: F ? /* @__PURE__ */ s(B, { children: [
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 && D
161
- ] }) : d && D })
160
+ L && M
161
+ ] }) : d && M })
162
162
  ] });
163
163
  }
164
164
  );
165
165
  export {
166
- Mn as F
166
+ Bn as F
167
167
  };
package/dist/fieldText.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as o } from "./fieldText-17fcba4f.js";
1
+ import { F as o } from "./fieldText-1749da7a.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "./bind-06a7ff84.js";
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-12bb6fb4.js";
7
+ import { D as M } from "./datePicker-5b3b45b6.js";
8
8
  import "react-datepicker";
9
- import { D as k } from "./dropdown-a99520ba.js";
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-17fcba4f.js";
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-e77d76d8.js";
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-a99520ba.js";
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-17fcba4f.js";
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";
@@ -1,4 +1,4 @@
1
- import { P as t } from "./pagination-e77d76d8.js";
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-17fcba4f.js";
9
+ import "./fieldText-1749da7a.js";
10
10
  import "./clear-53660571.js";
11
11
  import "./openEye-950159cb.js";
12
12
  import "./baseIconButton-251479f7.js";