@reportportal/ui-kit 0.0.1-alpha.91 → 0.0.1-alpha.92

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.
@@ -2,7 +2,7 @@ import { jsxs as F, Fragment as $, jsx as r } from "react/jsx-runtime";
2
2
  import B from "react-datepicker/dist/es/index.js";
3
3
  import { c as R } from "./bind-06a7ff84.js";
4
4
  import { useMemo as P, useRef as D } from "react";
5
- import { F as I } from "./fieldText-35421470.js";
5
+ import { F as I } from "./fieldText-ba8a917c.js";
6
6
  import { D as E } from "./dropdown-b26b8fd8.js";
7
7
  import { S as T } from "./calendarArrow-44c7e60e.js";
8
8
  import { registerLocale as j } from "react-datepicker";
@@ -1,12 +1,12 @@
1
- import { D as t } from "./datePicker-c9d859b1.js";
2
- import { r as v } from "./datePicker-c9d859b1.js";
1
+ import { D as t } from "./datePicker-ff670fde.js";
2
+ import { r as q } from "./datePicker-ff670fde.js";
3
3
  import "react/jsx-runtime";
4
4
  import "react-datepicker/dist/es/index.js";
5
5
  import "./bind-06a7ff84.js";
6
6
  import "react";
7
- import "./fieldText-35421470.js";
7
+ import "./fieldText-ba8a917c.js";
8
8
  import "./openEye-7b9cf080.js";
9
- import "./button-97d9e587.js";
9
+ import "./baseIconButton-251479f7.js";
10
10
  import "./spinLoader-c4a53718.js";
11
11
  import "./maxValueDisplay-9be01a75.js";
12
12
  import "./fieldLabel.js";
@@ -16,7 +16,6 @@ import "downshift";
16
16
  import "rc-scrollbars";
17
17
  import "./useOnClickOutside-c332f7d3.js";
18
18
  import "./keyCodes-f63c0e11.js";
19
- import "./baseIconButton-251479f7.js";
20
19
  import "./dropdown-0260bb66.js";
21
20
  import "./checkbox-ed6cc375.js";
22
21
  import "./calendarArrow-44c7e60e.js";
@@ -24,5 +23,5 @@ import "react-datepicker";
24
23
  export {
25
24
  t as DatePicker,
26
25
  t as default,
27
- v as registerDatePickerLocale
26
+ q as registerDatePickerLocale
28
27
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as o, Fragment as b } from "react/jsx-runtime";
2
- import { forwardRef as W, useRef as X, useId as Y, useState as v } from "react";
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 { b as q, a as ee, S as ne } from "./openEye-7b9cf080.js";
5
- import { B as te } from "./button-97d9e587.js";
5
+ import { B as te } from "./baseIconButton-251479f7.js";
6
6
  import { S as se } from "./spinLoader-c4a53718.js";
7
7
  import { M as oe } from "./maxValueDisplay-9be01a75.js";
8
8
  import { FieldLabel as ae } from "./fieldLabel.js";
@@ -33,7 +33,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
33
33
  ({
34
34
  value: s = "",
35
35
  className: E,
36
- classNameHelpText: B,
36
+ classNameHelpText: v,
37
37
  error: r,
38
38
  placeholder: p,
39
39
  disabled: a = !1,
@@ -48,26 +48,26 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
48
48
  clearable: k = !1,
49
49
  onClear: x,
50
50
  isRequired: z = !1,
51
- hasDoubleMessage: L = !1,
51
+ hasDoubleMessage: I = !1,
52
52
  type: i = "text",
53
- displayError: P = !0,
54
- collapsible: R = !1,
55
- loading: j = !1,
56
- maxLengthDisplay: H,
57
- onFocus: I = () => {
53
+ displayError: L = !0,
54
+ collapsible: P = !1,
55
+ loading: R = !1,
56
+ maxLengthDisplay: j,
57
+ onFocus: H = () => {
58
58
  },
59
59
  onBlur: O = () => {
60
60
  },
61
61
  ...U
62
62
  }, $) => {
63
- const A = X(null), d = $ || A, w = Y(), [N, y] = v(!1), [g, F] = v(!1), G = (t) => {
64
- y(!0), I(t);
63
+ const A = X(null), d = $ || A, w = Y(), [N, y] = B(!1), [g, F] = B(!1), G = (t) => {
64
+ y(!0), H(t);
65
65
  }, J = (t) => {
66
66
  y(!1), O(t);
67
67
  }, K = () => {
68
68
  var t;
69
69
  x && (x(s), (t = d.current) == null || t.focus());
70
- }, S = P && r && f, D = /* @__PURE__ */ e("span", { className: n("text", "help-text", B), children: u }), Q = () => i !== "password" ? i : g ? "text" : "password", M = (t) => {
70
+ }, S = L && r && f, D = /* @__PURE__ */ e("span", { className: n("text", "help-text", v), children: u }), Q = () => i !== "password" ? i : g ? "text" : "password", M = (t) => {
71
71
  t.preventDefault(), F(!0);
72
72
  }, c = (t) => {
73
73
  t.preventDefault(), F(!1);
@@ -82,11 +82,11 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
82
82
  touched: f,
83
83
  disabled: a,
84
84
  "default-width": V,
85
- collapsed: R && !N && !s
85
+ collapsed: P && !N && !s
86
86
  }),
87
87
  title: T,
88
88
  children: [
89
- j ? /* @__PURE__ */ e(se, {}) : m && /* @__PURE__ */ e(
89
+ R ? /* @__PURE__ */ e(se, {}) : m && /* @__PURE__ */ e(
90
90
  "span",
91
91
  {
92
92
  className: n("icon-container-start"),
@@ -116,15 +116,14 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
116
116
  i === "password" && s && /* @__PURE__ */ e(
117
117
  te,
118
118
  {
119
- icon: g ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(ee, {}),
120
- variant: "text",
121
119
  className: n("eye-icon"),
122
120
  onMouseDown: M,
123
121
  onMouseLeave: c,
124
122
  onMouseUp: c,
125
123
  onTouchStart: M,
126
124
  onTouchEnd: c,
127
- onTouchCancel: c
125
+ onTouchCancel: c,
126
+ children: g ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(ee, {})
128
127
  }
129
128
  ),
130
129
  p && !s && /* @__PURE__ */ o("span", { className: n("placeholder"), children: [
@@ -137,7 +136,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
137
136
  {
138
137
  className: n("max-length-display"),
139
138
  value: s.length,
140
- maxValue: H
139
+ maxValue: j
141
140
  }
142
141
  ),
143
142
  h && /* @__PURE__ */ e("span", { className: n("icon-container-end"), children: /* @__PURE__ */ e("span", { className: n("icon"), children: h }) }),
@@ -156,7 +155,7 @@ const ie = "_collapsed_uz1iu_13", ce = "_field_uz1iu_21", re = "_placeholder_uz1
156
155
  ),
157
156
  (S || u) && /* @__PURE__ */ e("div", { className: n("additional-content", { disabled: a }), children: S ? /* @__PURE__ */ o(b, { children: [
158
157
  /* @__PURE__ */ e("span", { className: n("text", "error-text"), children: r }),
159
- L && D
158
+ I && D
160
159
  ] }) : u && D })
161
160
  ] });
162
161
  }
package/dist/fieldText.js CHANGED
@@ -1,9 +1,9 @@
1
- import { F as o } from "./fieldText-35421470.js";
1
+ import { F as o } from "./fieldText-ba8a917c.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "./bind-06a7ff84.js";
5
5
  import "./openEye-7b9cf080.js";
6
- import "./button-97d9e587.js";
6
+ import "./baseIconButton-251479f7.js";
7
7
  import "./spinLoader-c4a53718.js";
8
8
  import "./maxValueDisplay-9be01a75.js";
9
9
  import "./fieldLabel.js";
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { B as C } from "./baseIconButton-251479f7.js";
3
3
  import { B as g } from "./breadcrumbs-8e5ca8d7.js";
4
4
  import { C as F } from "./checkbox-ed6cc375.js";
5
5
  import { S as b } from "./systemMessage-924fdaa6.js";
6
- import { F as h } from "./fieldText-35421470.js";
6
+ import { F as h } from "./fieldText-ba8a917c.js";
7
7
  import { T as v } from "./themeProvider-46c2be7b.js";
8
8
  import { Modal as M } from "./modal.js";
9
9
  import { D as E } from "./dropdown-b26b8fd8.js";
@@ -15,10 +15,10 @@ import { F as j } from "./fieldTextFlex-8afaab31.js";
15
15
  import { R as G } from "./radio-62546efa.js";
16
16
  import { Tooltip as Q } from "./tooltip.js";
17
17
  import { Popover as X } from "./popover.js";
18
- import { P as Z } from "./pagination-b001d791.js";
18
+ import { P as Z } from "./pagination-43330c73.js";
19
19
  import { S as $ } from "./selection-9124d029.js";
20
20
  import { T as ro } from "./table-920fdad9.js";
21
- import { D as to } from "./datePicker-c9d859b1.js";
21
+ import { D as to } from "./datePicker-ff670fde.js";
22
22
  import "react-datepicker";
23
23
  import { SystemAlert as ao } from "./systemAlert.js";
24
24
  import { AddCsvIcon as po, AddImageIcon as mo, AddJarIcon as io, BreadcrumbsTreeIcon as so, CalendarIcon as Io, CheckmarkIcon as xo, ChevronDownDropdownIcon as fo, ChevronRightBreadcrumbsIcon as lo, CopyIcon as So, DeleteIcon as uo, DragAndDropIcon as Po, DragNDropIcon as Co, DurationIcon as Do, EditIcon as go, ExportIcon as Bo, ExternalLinkIcon as Fo, FilterFilledIcon as To, FilterOutlineIcon as bo, FlagIcon as yo, HideIcon as ho, MaximizeIcon as wo, MoveToFolderIcon as vo, PriorityBlockerIcon as Ao, PriorityCriticalIcon as Mo, PriorityHighIcon as ko, PriorityLowIcon as Eo, PriorityMediumIcon as Ro, PriorityUnspecifiedIcon as Lo, RefreshIcon as Ho, RerunIcon as No, SearchIcon as Oo, SortIcon as Uo, StatusSuccessIcon as zo, WarningIcon as Jo } from "./icons.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-35421470.js";
6
+ import { F as j } from "./fieldText-ba8a917c.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,16 +1,16 @@
1
- import { P as t } from "./pagination-b001d791.js";
1
+ import { P as t } from "./pagination-43330c73.js";
2
2
  import "react/jsx-runtime";
3
3
  import "./bind-06a7ff84.js";
4
4
  import "react";
5
5
  import "./popover.js";
6
6
  import "@floating-ui/react";
7
7
  import "./button-97d9e587.js";
8
- import "./fieldText-35421470.js";
8
+ import "./fieldText-ba8a917c.js";
9
9
  import "./openEye-7b9cf080.js";
10
+ import "./baseIconButton-251479f7.js";
10
11
  import "./spinLoader-c4a53718.js";
11
12
  import "./maxValueDisplay-9be01a75.js";
12
13
  import "./fieldLabel.js";
13
- import "./baseIconButton-251479f7.js";
14
14
  import "./prevPage-87faf576.js";
15
15
  import "./tooltip.js";
16
16
  import "react-dom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reportportal/ui-kit",
3
- "version": "0.0.1-alpha.91",
3
+ "version": "0.0.1-alpha.92",
4
4
  "description": "The UI-kit library for ReportPortal Design System.",
5
5
  "type": "module",
6
6
  "scripts": {