@reportportal/ui-kit 0.0.1-alpha.237 → 0.0.1-alpha.239
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 +2 -2
- package/dist/components/icons/index.d.ts +3 -0
- package/dist/components/pagination/itemsCounter/itemCounter.d.ts +2 -1
- package/dist/components/pagination/pagination.d.ts +2 -1
- package/dist/components/table/types.d.ts +1 -0
- package/dist/{datePicker-b554cb9d.js → datePicker-09dd025d.js} +1 -1
- package/dist/datePicker.js +4 -4
- package/dist/{fieldText-1749da7a.js → fieldText-4a8e5496.js} +11 -11
- package/dist/fieldText.js +2 -2
- package/dist/icons.js +93 -90
- package/dist/index.js +109 -106
- package/dist/openedEye-8fa4c67d.js +6 -0
- package/dist/pagination-535d600a.js +370 -0
- package/dist/pagination.js +6 -6
- package/dist/style.css +1 -1
- package/dist/table-e0fd9727.js +1157 -0
- package/dist/table.js +1 -1
- package/package.json +1 -1
- package/dist/openEye-950159cb.js +0 -6
- package/dist/pagination-53c8a559.js +0 -355
- package/dist/table-4d35951e.js +0 -1150
package/dist/autocompletes.js
CHANGED
|
@@ -9,12 +9,12 @@ 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-4a8e5496.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";
|
|
16
16
|
import { S as tt } from "./clear-53660571.js";
|
|
17
|
-
import "./
|
|
17
|
+
import "./openedEye-8fa4c67d.js";
|
|
18
18
|
import "./baseIconButton-251479f7.js";
|
|
19
19
|
import "./spinLoader-c4a53718.js";
|
|
20
20
|
import "./maxValueDisplay-9be01a75.js";
|
|
@@ -12,6 +12,7 @@ export { default as ChevronDownDropdownIcon } from './svg/chevronDownDropdown.sv
|
|
|
12
12
|
export { default as ChevronRightBreadcrumbsIcon } from './svg/chevronRightBreadcrumbs.svg';
|
|
13
13
|
export { default as ClearIcon } from './svg/clear.svg';
|
|
14
14
|
export { default as CloseEyeIcon } from './svg/closeEye.svg';
|
|
15
|
+
export { default as ClosedEyeIcon } from './svg/closedEye.svg';
|
|
15
16
|
export { default as CloseIcon } from './svg/close.svg';
|
|
16
17
|
export { default as ConfigurationIcon } from './svg/configuration.svg';
|
|
17
18
|
export { default as CopyIcon } from './svg/copy.svg';
|
|
@@ -47,6 +48,7 @@ export { default as MinusIcon } from './svg/minus.svg';
|
|
|
47
48
|
export { default as MoveToFolderIcon } from './svg/moveToFolder.svg';
|
|
48
49
|
export { default as OkIcon } from './svg/ok.svg';
|
|
49
50
|
export { default as OpenEyeIcon } from './svg/openEye.svg';
|
|
51
|
+
export { default as OpenedEyeIcon } from './svg/openedEye.svg';
|
|
50
52
|
export { default as PdfIcon } from './svg/pdf.svg';
|
|
51
53
|
export { default as PinFilledIcon } from './svg/pinFilled.svg';
|
|
52
54
|
export { default as PinOutlineIcon } from './svg/pinOutline.svg';
|
|
@@ -74,6 +76,7 @@ export { default as TestCaseIcon } from './svg/testCase.svg';
|
|
|
74
76
|
export { default as TestPlanIcon } from './svg/testPlan.svg';
|
|
75
77
|
export { default as UserIcon } from './svg/userIcon.svg';
|
|
76
78
|
export { default as LaunchTypeIcon } from './svg/launchType.svg';
|
|
79
|
+
export { default as LatestExecutionsIcon } from './svg/latestExecutions.svg';
|
|
77
80
|
export { default as RunManualIcon } from './svg/runManual.svg';
|
|
78
81
|
export { default as CoverageFullIcon } from './svg/coverageFull.svg';
|
|
79
82
|
export { default as CoveragePartialIcon } from './svg/coveragePartially.svg';
|
|
@@ -8,5 +8,6 @@ export interface ItemCounterProps {
|
|
|
8
8
|
itemsText: string;
|
|
9
9
|
limitExceeded?: boolean;
|
|
10
10
|
warningContent?: ReactNode;
|
|
11
|
+
accentTotalTooltip?: ReactNode;
|
|
11
12
|
}
|
|
12
|
-
export declare const ItemCounter: ({ activePage, pageSize, totalItems, ofText, itemsText, limitExceeded, warningContent, }: ItemCounterProps) => ReactElement;
|
|
13
|
+
export declare const ItemCounter: ({ activePage, pageSize, totalItems, ofText, itemsText, limitExceeded, warningContent, accentTotalTooltip, }: ItemCounterProps) => ReactElement;
|
|
@@ -21,6 +21,7 @@ export interface PaginationProps {
|
|
|
21
21
|
className?: string;
|
|
22
22
|
warningContent?: ReactNode;
|
|
23
23
|
limitExceeded?: boolean;
|
|
24
|
+
accentTotalTooltip?: ReactNode;
|
|
24
25
|
}
|
|
25
|
-
export declare const Pagination: ({ activePage, totalPages, pageSize, totalItems, pageSizeOptions, changePage, changePageSize, captions, className, warningContent, limitExceeded, }: PaginationProps) => ReactElement;
|
|
26
|
+
export declare const Pagination: ({ activePage, totalPages, pageSize, totalItems, pageSizeOptions, changePage, changePageSize, captions, className, warningContent, limitExceeded, accentTotalTooltip, }: PaginationProps) => ReactElement;
|
|
26
27
|
export {};
|
|
@@ -69,6 +69,7 @@ export interface TableComponentProps {
|
|
|
69
69
|
setExpandedRowIds?: Dispatch<SetStateAction<Set<string | number>>>;
|
|
70
70
|
isAllExpandedByDefault?: boolean;
|
|
71
71
|
expandAllTooltip?: ReactNode;
|
|
72
|
+
sortDisabledColumnTooltips?: Record<string, ReactNode>;
|
|
72
73
|
isResizable?: boolean;
|
|
73
74
|
minColumnWidth?: number;
|
|
74
75
|
maxColumnWidth?: number;
|
|
@@ -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-4a8e5496.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,12 +1,12 @@
|
|
|
1
|
-
import { D as t } from "./datePicker-
|
|
2
|
-
import { r as H } from "./datePicker-
|
|
1
|
+
import { D as t } from "./datePicker-09dd025d.js";
|
|
2
|
+
import { r as H } from "./datePicker-09dd025d.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-4a8e5496.js";
|
|
8
8
|
import "./clear-53660571.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./openedEye-8fa4c67d.js";
|
|
10
10
|
import "./baseIconButton-251479f7.js";
|
|
11
11
|
import "./spinLoader-c4a53718.js";
|
|
12
12
|
import "./maxValueDisplay-9be01a75.js";
|
|
@@ -2,12 +2,12 @@ import { jsx as n, jsxs as s, Fragment as E } from "react/jsx-runtime";
|
|
|
2
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
|
-
import { a as nn, S as en } from "./
|
|
5
|
+
import { a as nn, S as en } from "./openedEye-8fa4c67d.js";
|
|
6
6
|
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_18d9y_11", rn = "_field_18d9y_23",
|
|
10
|
+
const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", dn = "_placeholder_18d9y_48", ln = "_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
11
|
"icon-container": "_icon-container_18d9y_1",
|
|
12
12
|
"icon-container-additional": "_icon-container-additional_18d9y_1",
|
|
13
13
|
"icon-container-end": "_icon-container-end_18d9y_1",
|
|
@@ -15,8 +15,8 @@ const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d
|
|
|
15
15
|
collapsed: cn,
|
|
16
16
|
field: rn,
|
|
17
17
|
"default-width": "_default-width_18d9y_35",
|
|
18
|
-
placeholder:
|
|
19
|
-
disabled:
|
|
18
|
+
placeholder: dn,
|
|
19
|
+
disabled: ln,
|
|
20
20
|
error: _n,
|
|
21
21
|
touched: pn,
|
|
22
22
|
"max-length-display": "_max-length-display_18d9y_61",
|
|
@@ -42,8 +42,8 @@ const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d
|
|
|
42
42
|
onChange: T,
|
|
43
43
|
touched: m = !1,
|
|
44
44
|
title: V,
|
|
45
|
-
label:
|
|
46
|
-
helpText:
|
|
45
|
+
label: d,
|
|
46
|
+
helpText: l,
|
|
47
47
|
defaultWidth: k = !0,
|
|
48
48
|
startIcon: f,
|
|
49
49
|
endIcon: h,
|
|
@@ -69,13 +69,13 @@ const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d
|
|
|
69
69
|
}, K = () => {
|
|
70
70
|
var t;
|
|
71
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:
|
|
72
|
+
}, D = P && r && m, M = /* @__PURE__ */ n("span", { className: e("text", "help-text", C), children: l }), Q = () => c !== "password" ? c : S ? "text" : "password", B = (t) => {
|
|
73
73
|
t.preventDefault(), F(!0);
|
|
74
74
|
}, i = (t) => {
|
|
75
75
|
t.preventDefault(), F(!1);
|
|
76
76
|
};
|
|
77
77
|
return /* @__PURE__ */ s(E, { children: [
|
|
78
|
-
|
|
78
|
+
d && /* @__PURE__ */ n(an, { isRequired: x, htmlFor: w, children: d }),
|
|
79
79
|
/* @__PURE__ */ s(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
@@ -130,7 +130,7 @@ const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d
|
|
|
130
130
|
),
|
|
131
131
|
u && !o && /* @__PURE__ */ s("span", { className: e("placeholder"), children: [
|
|
132
132
|
u,
|
|
133
|
-
x && !
|
|
133
|
+
x && !d && /* @__PURE__ */ n("span", { className: e("asterisk") })
|
|
134
134
|
] })
|
|
135
135
|
] }),
|
|
136
136
|
/* @__PURE__ */ n(
|
|
@@ -155,10 +155,10 @@ const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d
|
|
|
155
155
|
]
|
|
156
156
|
}
|
|
157
157
|
),
|
|
158
|
-
(D ||
|
|
158
|
+
(D || l) && /* @__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
160
|
L && M
|
|
161
|
-
] }) :
|
|
161
|
+
] }) : l && M })
|
|
162
162
|
] });
|
|
163
163
|
}
|
|
164
164
|
);
|
package/dist/fieldText.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as o } from "./fieldText-
|
|
1
|
+
import { F as o } from "./fieldText-4a8e5496.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./bind-06a7ff84.js";
|
|
5
5
|
import "./clear-53660571.js";
|
|
6
|
-
import "./
|
|
6
|
+
import "./openedEye-8fa4c67d.js";
|
|
7
7
|
import "./baseIconButton-251479f7.js";
|
|
8
8
|
import "./spinLoader-c4a53718.js";
|
|
9
9
|
import "./maxValueDisplay-9be01a75.js";
|