@reportportal/ui-kit 0.0.1-alpha.192 → 0.0.1-alpha.193
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/{checkbox-2b9f889c.js → checkbox-76aa8f97.js} +14 -14
- package/dist/checkbox.js +1 -1
- package/dist/components/table/hooks/useCheckboxRowSync.d.ts +2 -2
- package/dist/components/table/types.d.ts +2 -0
- package/dist/{datePicker-8453b46f.js → datePicker-b9a14640.js} +1 -1
- package/dist/datePicker.js +4 -4
- package/dist/{dropdown-99d0749c.js → dropdown-1c7e1b67.js} +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/index.js +4 -4
- package/dist/modal.js +2 -2
- package/dist/sidePanel.js +2 -2
- package/dist/style.css +1 -1
- package/dist/table-0ec68481.js +1116 -0
- package/dist/table.js +2 -2
- package/package.json +1 -1
- package/dist/table-701a71d1.js +0 -1099
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as x, jsx as
|
|
1
|
+
import { jsxs as x, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as f } from "./bind-06a7ff84.js";
|
|
3
3
|
import { useRef as y, useId as C } from "react";
|
|
4
|
-
import { K as
|
|
5
|
-
const E = "
|
|
4
|
+
import { K as _ } from "./keyCodes-f63c0e11.js";
|
|
5
|
+
const E = "_checkbox_10pak_1", D = "_disabled_10pak_12", K = "_input_10pak_17", N = "_control_10pak_24", I = "_children_10pak_152", R = {
|
|
6
6
|
checkbox: E,
|
|
7
7
|
disabled: D,
|
|
8
8
|
input: K,
|
|
9
9
|
control: N,
|
|
10
|
-
"partially-checked": "_partially-
|
|
10
|
+
"partially-checked": "_partially-checked_10pak_79",
|
|
11
11
|
children: I
|
|
12
12
|
}, e = f.bind(R), A = ({
|
|
13
|
-
children:
|
|
13
|
+
children: s,
|
|
14
14
|
disabled: c = !1,
|
|
15
15
|
onChange: d,
|
|
16
16
|
className: h,
|
|
@@ -19,14 +19,14 @@ const E = "_checkbox_6sak0_1", D = "_disabled_6sak0_12", K = "_input_6sak0_17",
|
|
|
19
19
|
title: r,
|
|
20
20
|
...u
|
|
21
21
|
}) => {
|
|
22
|
-
const o = y(null), l = C(), m = (
|
|
23
|
-
var
|
|
24
|
-
const { keyCode:
|
|
25
|
-
if (
|
|
26
|
-
|
|
22
|
+
const o = y(null), l = C(), m = (n) => {
|
|
23
|
+
var i, k;
|
|
24
|
+
const { keyCode: p } = n;
|
|
25
|
+
if (p === _.SPACE_KEY_CODE) {
|
|
26
|
+
n.preventDefault(), (i = o.current) == null || i.click();
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
p === _.ENTER_KEY_CODE && (n.preventDefault(), (k = o.current) == null || k.click());
|
|
30
30
|
};
|
|
31
31
|
return /* @__PURE__ */ x(
|
|
32
32
|
"label",
|
|
@@ -37,7 +37,7 @@ const E = "_checkbox_6sak0_1", D = "_disabled_6sak0_12", K = "_input_6sak0_17",
|
|
|
37
37
|
}),
|
|
38
38
|
title: r,
|
|
39
39
|
children: [
|
|
40
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ a(
|
|
41
41
|
"input",
|
|
42
42
|
{
|
|
43
43
|
ref: o,
|
|
@@ -52,7 +52,7 @@ const E = "_checkbox_6sak0_1", D = "_disabled_6sak0_12", K = "_input_6sak0_17",
|
|
|
52
52
|
...u
|
|
53
53
|
}
|
|
54
54
|
),
|
|
55
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ a(
|
|
56
56
|
"span",
|
|
57
57
|
{
|
|
58
58
|
"aria-labelledby": l,
|
|
@@ -63,7 +63,7 @@ const E = "_checkbox_6sak0_1", D = "_disabled_6sak0_12", K = "_input_6sak0_17",
|
|
|
63
63
|
})
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
s && /* @__PURE__ */ a("span", { className: e("children", { disabled: c }), children: s })
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
);
|
package/dist/checkbox.js
CHANGED
|
@@ -3,8 +3,8 @@ interface UseCheckboxRowSyncProps {
|
|
|
3
3
|
rowCount: number;
|
|
4
4
|
}
|
|
5
5
|
export declare const useCheckboxRowSync: ({ enabled, rowCount }: UseCheckboxRowSyncProps) => {
|
|
6
|
-
setTableRowRef: (
|
|
7
|
-
setCheckboxRowRef: (
|
|
6
|
+
setTableRowRef: (rowId: string | number) => (el: HTMLElement | null) => void;
|
|
7
|
+
setCheckboxRowRef: (rowId: string | number) => (el: HTMLElement | null) => void;
|
|
8
8
|
syncAllHeights: () => void;
|
|
9
9
|
};
|
|
10
10
|
export {};
|
|
@@ -64,6 +64,7 @@ export interface TableComponentProps {
|
|
|
64
64
|
isRowsExpandable?: boolean;
|
|
65
65
|
expandedRowIds?: (string | number)[];
|
|
66
66
|
isSelectAllCheckboxAlwaysVisible?: boolean;
|
|
67
|
+
disabledRowIds?: (string | number)[];
|
|
67
68
|
setExpandedRowIds?: Dispatch<SetStateAction<Set<string | number>>>;
|
|
68
69
|
isAllExpandedByDefault?: boolean;
|
|
69
70
|
expandAllTooltip?: ReactNode;
|
|
@@ -76,6 +77,7 @@ export interface TableComponentProps {
|
|
|
76
77
|
onToggleRowExpansion?: (id: string | number) => void;
|
|
77
78
|
onToggleAllRowsExpansion?: () => void;
|
|
78
79
|
onColumnResize?: (columnKey: string, width: number) => void;
|
|
80
|
+
getRowCheckboxTooltip?: (rowId: string | number) => ReactNode;
|
|
79
81
|
externalScrollContainerRef?: RefObject<HTMLElement> | RefObject<Element> | null | undefined;
|
|
80
82
|
portalContainer?: HTMLElement | null;
|
|
81
83
|
rightGradientClassName?: string;
|
|
@@ -3,7 +3,7 @@ import { useMemo as E, forwardRef as G, useRef as V } from "react";
|
|
|
3
3
|
import v from "react-datepicker/dist/es/index.js";
|
|
4
4
|
import { c as L } from "./bind-06a7ff84.js";
|
|
5
5
|
import { F as W } from "./fieldText-1749da7a.js";
|
|
6
|
-
import { D as x } from "./dropdown-
|
|
6
|
+
import { D as x } from "./dropdown-1c7e1b67.js";
|
|
7
7
|
import { S as I } from "./calendarArrow-44c7e60e.js";
|
|
8
8
|
import { registerLocale as q } from "react-datepicker";
|
|
9
9
|
const De = (t, n) => {
|
package/dist/datePicker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as t } from "./datePicker-
|
|
2
|
-
import { r as E } from "./datePicker-
|
|
1
|
+
import { D as t } from "./datePicker-b9a14640.js";
|
|
2
|
+
import { r as E } from "./datePicker-b9a14640.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-datepicker/dist/es/index.js";
|
|
@@ -11,7 +11,7 @@ import "./baseIconButton-251479f7.js";
|
|
|
11
11
|
import "./spinLoader-c4a53718.js";
|
|
12
12
|
import "./maxValueDisplay-9be01a75.js";
|
|
13
13
|
import "./fieldLabel.js";
|
|
14
|
-
import "./dropdown-
|
|
14
|
+
import "./dropdown-1c7e1b67.js";
|
|
15
15
|
import "react-dom";
|
|
16
16
|
import "@floating-ui/react-dom";
|
|
17
17
|
import "downshift";
|
|
@@ -25,7 +25,7 @@ import "./isEmpty-ccacb5ff.js";
|
|
|
25
25
|
import "react-dnd";
|
|
26
26
|
import "react-dnd-html5-backend";
|
|
27
27
|
import "./useEllipsisTitle-462fa254.js";
|
|
28
|
-
import "./checkbox-
|
|
28
|
+
import "./checkbox-76aa8f97.js";
|
|
29
29
|
import "./calendarArrow-44c7e60e.js";
|
|
30
30
|
import "react-datepicker";
|
|
31
31
|
export {
|
|
@@ -14,7 +14,7 @@ import { AdaptiveTagList as zr } from "./adaptiveTagList.js";
|
|
|
14
14
|
import "react-dnd";
|
|
15
15
|
import "react-dnd-html5-backend";
|
|
16
16
|
import { u as Tr } from "./useEllipsisTitle-462fa254.js";
|
|
17
|
-
import { C as xr } from "./checkbox-
|
|
17
|
+
import { C as xr } from "./checkbox-76aa8f97.js";
|
|
18
18
|
import { i as te } from "./isEmpty-ccacb5ff.js";
|
|
19
19
|
const kr = (n) => {
|
|
20
20
|
const r = {}, c = {};
|
package/dist/dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as r } from "./dropdown-
|
|
2
|
-
import { a as E } from "./dropdown-
|
|
1
|
+
import { D as r } from "./dropdown-1c7e1b67.js";
|
|
2
|
+
import { a as E } from "./dropdown-1c7e1b67.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -19,7 +19,7 @@ import "./isEmpty-ccacb5ff.js";
|
|
|
19
19
|
import "react-dnd";
|
|
20
20
|
import "react-dnd-html5-backend";
|
|
21
21
|
import "./useEllipsisTitle-462fa254.js";
|
|
22
|
-
import "./checkbox-
|
|
22
|
+
import "./checkbox-76aa8f97.js";
|
|
23
23
|
export {
|
|
24
24
|
E as DROPDOWN_PORTAL_MENU_ATTR,
|
|
25
25
|
r as Dropdown,
|
package/dist/index.js
CHANGED
|
@@ -7,11 +7,11 @@ import { B as N } from "./breadcrumbs-b9af3ee5.js";
|
|
|
7
7
|
import { B as z } from "./bubblesLoader-f3ffa240.js";
|
|
8
8
|
import { BulkPanel as J } from "./bulkPanel.js";
|
|
9
9
|
import { B as _ } from "./button-7ab874f3.js";
|
|
10
|
-
import { C as W } from "./checkbox-
|
|
10
|
+
import { C as W } from "./checkbox-76aa8f97.js";
|
|
11
11
|
import { Chip as j } from "./chip.js";
|
|
12
|
-
import { D as K } from "./datePicker-
|
|
12
|
+
import { D as K } from "./datePicker-b9a14640.js";
|
|
13
13
|
import "react-datepicker";
|
|
14
|
-
import { D as Y } from "./dropdown-
|
|
14
|
+
import { D as Y } from "./dropdown-1c7e1b67.js";
|
|
15
15
|
import { FieldLabel as $ } from "./fieldLabel.js";
|
|
16
16
|
import { F as ro } from "./fieldNumber-d1b5a7a1.js";
|
|
17
17
|
import { F as to } from "./fieldText-1749da7a.js";
|
|
@@ -31,7 +31,7 @@ import { S as Lo } from "./spinLoader-c4a53718.js";
|
|
|
31
31
|
import { SystemAlert as Eo } from "./systemAlert.js";
|
|
32
32
|
import { S as ko } from "./systemMessage-924fdaa6.js";
|
|
33
33
|
import { DragLayer as No, SortableItem as Uo, SortableList as zo, TreeSortableContainer as Ho, TreeSortableItem as Jo } from "./sortable.js";
|
|
34
|
-
import { T as _o } from "./table-
|
|
34
|
+
import { T as _o } from "./table-0ec68481.js";
|
|
35
35
|
import { T as Wo } from "./themeProvider-46c2be7b.js";
|
|
36
36
|
import { T as jo } from "./toggle-304107fa.js";
|
|
37
37
|
import { Tooltip as Ko } from "./tooltip.js";
|
package/dist/modal.js
CHANGED
|
@@ -7,7 +7,7 @@ import { u as q } from "./useOnClickOutside-8f7d68a1.js";
|
|
|
7
7
|
import "react-dnd";
|
|
8
8
|
import "react-dnd-html5-backend";
|
|
9
9
|
import { u as J } from "./useWindowResize-a7e1ac92.js";
|
|
10
|
-
import { a as Q } from "./dropdown-
|
|
10
|
+
import { a as Q } from "./dropdown-1c7e1b67.js";
|
|
11
11
|
import { K as V } from "./keyCodes-f63c0e11.js";
|
|
12
12
|
import { B as C } from "./button-7ab874f3.js";
|
|
13
13
|
import { Tooltip as Z } from "./tooltip.js";
|
|
@@ -22,7 +22,7 @@ import "./fieldLabel.js";
|
|
|
22
22
|
import "./adaptiveTagList.js";
|
|
23
23
|
import "./isEmpty-ccacb5ff.js";
|
|
24
24
|
import "./useEllipsisTitle-462fa254.js";
|
|
25
|
-
import "./checkbox-
|
|
25
|
+
import "./checkbox-76aa8f97.js";
|
|
26
26
|
import "@floating-ui/react";
|
|
27
27
|
import "./floatingUi-41f8c7b5.js";
|
|
28
28
|
const oe = {
|
package/dist/sidePanel.js
CHANGED
|
@@ -5,7 +5,7 @@ import { K as B } from "./keyCodes-f63c0e11.js";
|
|
|
5
5
|
import { u as L } from "./useOnClickOutside-8f7d68a1.js";
|
|
6
6
|
import "react-dnd";
|
|
7
7
|
import "react-dnd-html5-backend";
|
|
8
|
-
import { a as O } from "./dropdown-
|
|
8
|
+
import { a as O } from "./dropdown-1c7e1b67.js";
|
|
9
9
|
import { S as T } from "./close-4d480ef7.js";
|
|
10
10
|
import { B as j } from "./baseIconButton-251479f7.js";
|
|
11
11
|
import "react-dom";
|
|
@@ -19,7 +19,7 @@ import "./adaptiveTagList.js";
|
|
|
19
19
|
import "./button-7ab874f3.js";
|
|
20
20
|
import "./isEmpty-ccacb5ff.js";
|
|
21
21
|
import "./useEllipsisTitle-462fa254.js";
|
|
22
|
-
import "./checkbox-
|
|
22
|
+
import "./checkbox-76aa8f97.js";
|
|
23
23
|
const w = "_active_5ebdz_11", M = "_compact_5ebdz_62", F = "_header_5ebdz_58", H = "_title_5ebdz_88", U = "_description_5ebdz_99", W = "_content_5ebdz_108", Y = "_footer_5ebdz_115", q = "_divider_5ebdz_121", G = {
|
|
24
24
|
"side-panel-overlay": "_side-panel-overlay_5ebdz_1",
|
|
25
25
|
active: w,
|