@reportportal/ui-kit 0.0.1-alpha.168 → 0.0.1-alpha.169
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/actionMenu-77a63b96.js +155 -0
- package/dist/actionMenu.js +30 -0
- package/dist/{breadcrumbs-8e5ca8d7.js → breadcrumbs-9b38b89c.js} +15 -14
- package/dist/breadcrumbs.js +3 -2
- package/dist/components/actionMenu/actionMenu.d.ts +33 -0
- package/dist/components/actionMenu/constants.d.ts +3 -0
- package/dist/components/actionMenu/index.d.ts +18 -0
- package/dist/components/datePicker/datePicker.d.ts +14 -7
- package/dist/components/fieldText/index.d.ts +2 -1
- package/dist/components/filterItem/filterItem.d.ts +18 -0
- package/dist/components/filterItem/index.d.ts +17 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/segmentedControl/index.d.ts +17 -0
- package/dist/components/segmentedControl/segmentedControl.d.ts +4 -0
- package/dist/components/segmentedControl/types.d.ts +18 -0
- package/dist/datePicker-ad4a758c.js +208 -0
- package/dist/datePicker.js +2 -2
- package/dist/filterItem.js +96 -0
- package/dist/icons.js +18 -17
- package/dist/index.js +164 -154
- package/dist/meatballMenu-535635a9.js +5 -0
- package/dist/segmentedControl.js +62 -0
- package/dist/style.css +15 -1
- package/dist/tree-e7a0ef42.js +5 -0
- package/package.json +3 -2
- package/dist/datePicker-9d52ba44.js +0 -194
- package/dist/tree-c3dd3d45.js +0 -6
package/dist/index.js
CHANGED
|
@@ -1,53 +1,58 @@
|
|
|
1
|
-
import { AdaptiveTagList as
|
|
2
|
-
import { A as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { B as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { AdaptiveTagList as D } from "./adaptiveTagList.js";
|
|
2
|
+
import { A as b, a as y } from "./actionMenu-77a63b96.js";
|
|
3
|
+
import { ACTION_MENU_DIVIDER as h } from "./actionMenu.js";
|
|
4
|
+
import { A as v } from "./index-1a874a8b.js";
|
|
5
|
+
import { B as w } from "./baseIconButton-251479f7.js";
|
|
6
|
+
import { B as R } from "./breadcrumbs-9b38b89c.js";
|
|
7
|
+
import { B as O } from "./bubblesLoader-f3ffa240.js";
|
|
8
|
+
import { BulkPanel as U } from "./bulkPanel.js";
|
|
9
|
+
import { B as H } from "./button-97d9e587.js";
|
|
10
|
+
import { C as _ } from "./checkbox-493fdc63.js";
|
|
11
|
+
import { Chip as V } from "./chip.js";
|
|
12
|
+
import { D as X } from "./datePicker-ad4a758c.js";
|
|
11
13
|
import "react-datepicker";
|
|
12
|
-
import { D as
|
|
13
|
-
import { FieldLabel as
|
|
14
|
-
import { F as
|
|
15
|
-
import { F as
|
|
16
|
-
import { F as
|
|
17
|
-
import { FileDropArea as
|
|
18
|
-
import { FiltersButton as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { S as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { T as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { S as
|
|
39
|
-
import { S as
|
|
40
|
-
import { S as
|
|
41
|
-
import { S as
|
|
42
|
-
import { S as
|
|
43
|
-
import { S as
|
|
44
|
-
import { S as
|
|
45
|
-
import { S as
|
|
46
|
-
import { S as
|
|
47
|
-
import { S as
|
|
48
|
-
import { S as
|
|
49
|
-
import { S as
|
|
50
|
-
import { S as
|
|
14
|
+
import { D as q } from "./dropdown-7d024c49.js";
|
|
15
|
+
import { FieldLabel as Q } from "./fieldLabel.js";
|
|
16
|
+
import { F as Z } from "./fieldNumber-d1b5a7a1.js";
|
|
17
|
+
import { F as oo } from "./fieldText-1749da7a.js";
|
|
18
|
+
import { F as eo } from "./fieldTextFlex-2f51c173.js";
|
|
19
|
+
import { FileDropArea as no } from "./fileDropArea.js";
|
|
20
|
+
import { FiltersButton as po } from "./filtersButton.js";
|
|
21
|
+
import { FilterItem as co } from "./filterItem.js";
|
|
22
|
+
import { IssueList as so } from "./issueList.js";
|
|
23
|
+
import { Modal as xo } from "./modal.js";
|
|
24
|
+
import { MultipleAutocomplete as lo, SingleAutocomplete as uo } from "./autocompletes.js";
|
|
25
|
+
import { P as Co } from "./pagination-4ded0ec6.js";
|
|
26
|
+
import { Popover as go } from "./popover.js";
|
|
27
|
+
import { R as Ao } from "./radio-62546efa.js";
|
|
28
|
+
import { SegmentedControl as To } from "./segmentedControl.js";
|
|
29
|
+
import { S as yo } from "./selection-9124d029.js";
|
|
30
|
+
import { S as ho } from "./spinLoader-c4a53718.js";
|
|
31
|
+
import { SystemAlert as vo } from "./systemAlert.js";
|
|
32
|
+
import { S as wo } from "./systemMessage-924fdaa6.js";
|
|
33
|
+
import { DragLayer as Ro, SortableItem as ko, SortableList as Oo } from "./sortable.js";
|
|
34
|
+
import { T as Uo } from "./table-03bd209d.js";
|
|
35
|
+
import { T as Ho } from "./themeProvider-46c2be7b.js";
|
|
36
|
+
import { T as _o } from "./toggle-304107fa.js";
|
|
37
|
+
import { Tooltip as Vo } from "./tooltip.js";
|
|
38
|
+
import { SidePanel as Xo } from "./sidePanel.js";
|
|
39
|
+
import { AddCsvIcon as qo, AddImageIcon as Ko, AddJarIcon as Qo, BreadcrumbsTreeIcon as Yo, CalendarIcon as Zo, CheckmarkIcon as $o, ChevronRightBreadcrumbsIcon as or, ConfigurationIcon as rr, CopyIcon as er, CoverageFullIcon as tr, CoveragePartialIcon as nr, CoveredManuallyIcon as ar, DeleteIcon as pr, DragAndDropIcon as mr, DragNDropIcon as cr, DurationIcon as ir, EditIcon as sr, ExportIcon as Ir, FlagIcon as xr, GroupByIcon as fr, HideIcon as lr, LaunchTypeIcon as dr, MaximizeIcon as ur, MoveToFolderIcon as Sr, PinFilledIcon as Cr, PinOutlineIcon as Pr, PriorityBlockerIcon as gr, PriorityCriticalIcon as Fr, PriorityHighIcon as Ar, PriorityLowIcon as Dr, PriorityMediumIcon as Tr, PriorityUnspecifiedIcon as br, RefreshIcon as yr, RerunIcon as Br, RunManualIcon as hr, SearchIcon as Mr, SortIcon as vr, StatusSuccessIcon as Lr, TestPlanIcon as wr, UserIcon as Er } from "./icons.js";
|
|
40
|
+
import { S as kr, a as Or, b as Nr } from "./resizeColumn-46b5b30f.js";
|
|
41
|
+
import { S as zr } from "./calendarArrow-44c7e60e.js";
|
|
42
|
+
import { S as Jr } from "./chevronDownDropdown-0260bb66.js";
|
|
43
|
+
import { S as Gr } from "./clear-53660571.js";
|
|
44
|
+
import { S as Wr, a as Xr } from "./openEye-950159cb.js";
|
|
45
|
+
import { S as qr } from "./close-4d480ef7.js";
|
|
46
|
+
import { S as Qr, a as Yr, b as Zr, c as $r, d as oe, e as re, f as ee } from "./xls-995781cc.js";
|
|
47
|
+
import { S as ne } from "./dropdown-0260bb66.js";
|
|
48
|
+
import { S as pe, a as me, b as ce } from "./success-8fd8bd2c.js";
|
|
49
|
+
import { S as se, a as Ie } from "./filterOutline-819b4b0d.js";
|
|
50
|
+
import { S as fe } from "./meatballMenu-535635a9.js";
|
|
51
|
+
import { S as de } from "./minus-2857540f.js";
|
|
52
|
+
import { S as Se } from "./plus-199fb2a8.js";
|
|
53
|
+
import { S as Pe, a as ge } from "./prevPage-87faf576.js";
|
|
54
|
+
import { S as Ae } from "./tree-e7a0ef42.js";
|
|
55
|
+
import { S as Te } from "./warning-537ead32.js";
|
|
51
56
|
import "react/jsx-runtime";
|
|
52
57
|
import "react";
|
|
53
58
|
import "./bind-06a7ff84.js";
|
|
@@ -69,109 +74,114 @@ import "./floatingUi-41f8c7b5.js";
|
|
|
69
74
|
import "./common.js";
|
|
70
75
|
import "react-resizable";
|
|
71
76
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
To as
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
77
|
+
h as ACTION_MENU_DIVIDER,
|
|
78
|
+
b as ActionMenu,
|
|
79
|
+
y as ActionMenuItem,
|
|
80
|
+
D as AdaptiveTagList,
|
|
81
|
+
qo as AddCsvIcon,
|
|
82
|
+
Ko as AddImageIcon,
|
|
83
|
+
Qo as AddJarIcon,
|
|
84
|
+
kr as ArrowDownIcon,
|
|
85
|
+
Or as ArrowUpIcon,
|
|
86
|
+
v as AttachedFile,
|
|
87
|
+
w as BaseIconButton,
|
|
88
|
+
R as Breadcrumbs,
|
|
89
|
+
Yo as BreadcrumbsTreeIcon,
|
|
90
|
+
O as BubblesLoader,
|
|
91
|
+
U as BulkPanel,
|
|
92
|
+
H as Button,
|
|
93
|
+
zr as CalendarArrowIcon,
|
|
94
|
+
Zo as CalendarIcon,
|
|
95
|
+
_ as Checkbox,
|
|
96
|
+
$o as CheckmarkIcon,
|
|
97
|
+
Jr as ChevronDownDropdownIcon,
|
|
98
|
+
or as ChevronRightBreadcrumbsIcon,
|
|
99
|
+
V as Chip,
|
|
100
|
+
Gr as ClearIcon,
|
|
101
|
+
Wr as CloseEyeIcon,
|
|
102
|
+
qr as CloseIcon,
|
|
103
|
+
rr as ConfigurationIcon,
|
|
104
|
+
er as CopyIcon,
|
|
105
|
+
tr as CoverageFullIcon,
|
|
106
|
+
nr as CoveragePartialIcon,
|
|
107
|
+
ar as CoveredManuallyIcon,
|
|
108
|
+
Qr as CsvIcon,
|
|
109
|
+
X as DatePicker,
|
|
110
|
+
pr as DeleteIcon,
|
|
111
|
+
mr as DragAndDropIcon,
|
|
112
|
+
Ro as DragLayer,
|
|
113
|
+
cr as DragNDropIcon,
|
|
114
|
+
q as Dropdown,
|
|
115
|
+
ne as DropdownIcon,
|
|
116
|
+
ir as DurationIcon,
|
|
117
|
+
sr as EditIcon,
|
|
118
|
+
pe as ErrorIcon,
|
|
119
|
+
Ir as ExportIcon,
|
|
120
|
+
Yr as ExternalLinkIcon,
|
|
121
|
+
Q as FieldLabel,
|
|
122
|
+
Z as FieldNumber,
|
|
123
|
+
oo as FieldText,
|
|
124
|
+
eo as FieldTextFlex,
|
|
125
|
+
no as FileDropArea,
|
|
126
|
+
Zr as FileOtherIcon,
|
|
127
|
+
se as FilterFilledIcon,
|
|
128
|
+
co as FilterItem,
|
|
129
|
+
Ie as FilterOutlineIcon,
|
|
130
|
+
po as FiltersButton,
|
|
131
|
+
xr as FlagIcon,
|
|
132
|
+
fr as GroupByIcon,
|
|
133
|
+
lr as HideIcon,
|
|
134
|
+
$r as ImageIcon,
|
|
135
|
+
me as InfoIcon,
|
|
136
|
+
so as IssueList,
|
|
137
|
+
oe as JarIcon,
|
|
138
|
+
dr as LaunchTypeIcon,
|
|
139
|
+
ur as MaximizeIcon,
|
|
140
|
+
fe as MeatballMenuIcon,
|
|
141
|
+
de as MinusIcon,
|
|
142
|
+
xo as Modal,
|
|
143
|
+
Sr as MoveToFolderIcon,
|
|
144
|
+
lo as MultipleAutocomplete,
|
|
145
|
+
Xr as OpenEyeIcon,
|
|
146
|
+
Co as Pagination,
|
|
147
|
+
re as PdfIcon,
|
|
148
|
+
Cr as PinFilledIcon,
|
|
149
|
+
Pr as PinOutlineIcon,
|
|
150
|
+
Se as PlusIcon,
|
|
151
|
+
go as Popover,
|
|
152
|
+
Pe as PrevChapterIcon,
|
|
153
|
+
ge as PrevPageIcon,
|
|
154
|
+
gr as PriorityBlockerIcon,
|
|
155
|
+
Fr as PriorityCriticalIcon,
|
|
156
|
+
Ar as PriorityHighIcon,
|
|
157
|
+
Dr as PriorityLowIcon,
|
|
158
|
+
Tr as PriorityMediumIcon,
|
|
159
|
+
br as PriorityUnspecifiedIcon,
|
|
160
|
+
Ao as Radio,
|
|
161
|
+
yr as RefreshIcon,
|
|
162
|
+
Br as RerunIcon,
|
|
163
|
+
Nr as ResizeColumnIcon,
|
|
164
|
+
hr as RunManualIcon,
|
|
165
|
+
Mr as SearchIcon,
|
|
166
|
+
To as SegmentedControl,
|
|
167
|
+
yo as Selection,
|
|
168
|
+
Xo as SidePanel,
|
|
169
|
+
uo as SingleAutocomplete,
|
|
170
|
+
vr as SortIcon,
|
|
171
|
+
ko as SortableItem,
|
|
172
|
+
Oo as SortableList,
|
|
173
|
+
ho as SpinLoader,
|
|
174
|
+
Lr as StatusSuccessIcon,
|
|
175
|
+
ce as SuccessIcon,
|
|
176
|
+
vo as SystemAlert,
|
|
177
|
+
wo as SystemMessage,
|
|
178
|
+
Uo as Table,
|
|
179
|
+
wr as TestPlanIcon,
|
|
180
|
+
Ho as ThemeProvider,
|
|
181
|
+
_o as Toggle,
|
|
182
|
+
Vo as Tooltip,
|
|
183
|
+
Ae as TreeIcon,
|
|
184
|
+
Er as UserIcon,
|
|
185
|
+
Te as WarningIcon,
|
|
186
|
+
ee as XlsIcon
|
|
177
187
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as C from "react";
|
|
2
|
+
const l = (e) => /* @__PURE__ */ C.createElement("svg", { width: 14, height: 3, viewBox: "0 0 14 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.30811 2.47803C1.72868 2.47803 2.05339 2.36206 2.28223 2.13013C2.51107 1.89819 2.62549 1.60596 2.62549 1.25342C2.62549 0.894694 2.51107 0.596273 2.28223 0.358154C2.05339 0.120036 1.72868 0.000976562 1.30811 0.000976562C0.893717 0.000976562 0.572103 0.120036 0.343262 0.358154C0.114421 0.596273 0 0.894694 0 1.25342C0 1.61214 0.117513 1.90592 0.352539 2.13477C0.587565 2.36361 0.906087 2.47803 1.30811 2.47803ZM6.61475 2.47803C7.03532 2.47803 7.36003 2.36206 7.58887 2.13013C7.81771 1.89819 7.93213 1.60596 7.93213 1.25342C7.93213 0.894694 7.81771 0.596273 7.58887 0.358154C7.36003 0.120036 7.03532 0.000976562 6.61475 0.000976562C6.20036 0.000976562 5.87874 0.120036 5.6499 0.358154C5.42106 0.596273 5.30664 0.894694 5.30664 1.25342C5.30664 1.61214 5.42415 1.90592 5.65918 2.13477C5.89421 2.36361 6.21273 2.47803 6.61475 2.47803ZM12.8955 2.13013C12.6667 2.36206 12.342 2.47803 11.9214 2.47803C11.5194 2.47803 11.2008 2.36361 10.9658 2.13477C10.7308 1.90592 10.6133 1.61214 10.6133 1.25342C10.6133 0.894694 10.7277 0.596273 10.9565 0.358154C11.1854 0.120036 11.507 0.000976562 11.9214 0.000976562C12.342 0.000976562 12.6667 0.120036 12.8955 0.358154C13.1243 0.596273 13.2388 0.894694 13.2388 1.25342C13.2388 1.60596 13.1243 1.89819 12.8955 2.13013Z", fill: "#A2AAB5" }));
|
|
3
|
+
export {
|
|
4
|
+
l as S
|
|
5
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { jsx as u, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as o, useEffect as f } from "react";
|
|
3
|
+
import { c as v } from "./bind-06a7ff84.js";
|
|
4
|
+
const N = "_button_188ud_28", w = "_disabled_188ud_53", x = "_active_188ud_53", h = "_icon_188ud_77", j = {
|
|
5
|
+
"segmented-control": "_segmented-control_188ud_16",
|
|
6
|
+
"full-width": "_full-width_188ud_23",
|
|
7
|
+
button: N,
|
|
8
|
+
disabled: w,
|
|
9
|
+
active: x,
|
|
10
|
+
icon: h
|
|
11
|
+
}, c = v.bind(j), g = ({
|
|
12
|
+
options: s,
|
|
13
|
+
onChange: l,
|
|
14
|
+
className: r,
|
|
15
|
+
fullWidth: n = !1,
|
|
16
|
+
ariaLabel: i
|
|
17
|
+
}) => {
|
|
18
|
+
const [d, t] = o(s);
|
|
19
|
+
f(() => {
|
|
20
|
+
t(s);
|
|
21
|
+
}, [s]);
|
|
22
|
+
const _ = (e) => {
|
|
23
|
+
if (!e.disabled && !e.selected) {
|
|
24
|
+
const b = d.map((a) => ({
|
|
25
|
+
...a,
|
|
26
|
+
selected: a.value === e.value
|
|
27
|
+
}));
|
|
28
|
+
t(b), l == null || l(e.value);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ u(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: c("segmented-control", r, {
|
|
35
|
+
"full-width": n
|
|
36
|
+
}),
|
|
37
|
+
role: "group",
|
|
38
|
+
"aria-label": i,
|
|
39
|
+
children: d.map((e) => /* @__PURE__ */ m(
|
|
40
|
+
"button",
|
|
41
|
+
{
|
|
42
|
+
type: "button",
|
|
43
|
+
className: c("button", e.className, {
|
|
44
|
+
active: e.selected,
|
|
45
|
+
disabled: e.disabled
|
|
46
|
+
}),
|
|
47
|
+
onClick: () => _(e),
|
|
48
|
+
disabled: e.disabled,
|
|
49
|
+
"aria-pressed": e.selected,
|
|
50
|
+
children: [
|
|
51
|
+
e.icon && /* @__PURE__ */ u("span", { className: c("icon"), children: e.icon }),
|
|
52
|
+
e.label
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
e.value
|
|
56
|
+
))
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
g as SegmentedControl
|
|
62
|
+
};
|