@konstructio/ui 0.1.2-alpha.73 → 0.1.2-alpha.75
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/{Modal-CXRo8f-h.js → Modal-BTOXCb0Y.js} +1 -1
- package/dist/assets/icons/components/Home2.d.ts +3 -0
- package/dist/assets/icons/components/Home2.js +28 -0
- package/dist/assets/icons/components/Upload.d.ts +3 -0
- package/dist/assets/icons/components/Upload.js +28 -0
- package/dist/assets/icons/components/index.d.ts +2 -0
- package/dist/assets/icons/components/index.js +70 -66
- package/dist/assets/icons/index.js +70 -66
- package/dist/components/Alert/Alert.js +12 -12
- package/dist/components/Alert/Alert.types.d.ts +21 -6
- package/dist/components/Button/Button.variants.js +4 -5
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +1 -1
- package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +1 -1
- package/dist/components/Filter/Filter.js +24 -22
- package/dist/components/Filter/Filter.types.d.ts +8 -0
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.d.ts +3 -1
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +57 -41
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +75 -49
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.types.d.ts +2 -0
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +38 -37
- package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +31 -30
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +64 -47
- package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.types.d.ts +2 -0
- package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +35 -34
- package/dist/components/Filter/contexts/filter.context.d.ts +4 -0
- package/dist/components/Filter/contexts/filter.context.js +7 -0
- package/dist/components/Filter/contexts/filter.hook.d.ts +2 -0
- package/dist/components/Filter/contexts/filter.hook.js +11 -0
- package/dist/components/Filter/contexts/filter.provider.d.ts +5 -0
- package/dist/components/Filter/contexts/filter.provider.js +6 -0
- package/dist/components/Filter/contexts/index.d.ts +3 -0
- package/dist/components/Filter/contexts/index.js +8 -0
- package/dist/components/LineChart/LineChart.js +55 -52
- package/dist/components/LineChart/LineChart.types.d.ts +2 -0
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +2 -2
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +394 -353
- package/dist/components/Select/Select.types.d.ts +1 -0
- package/dist/components/Select/Select.variants.js +1 -1
- package/dist/components/Select/components/List/List.js +64 -61
- package/dist/components/Select/components/List/List.types.d.ts +1 -0
- package/dist/components/Select/components/Wrapper.js +46 -44
- package/dist/components/Select/constants/index.d.ts +1 -0
- package/dist/components/Select/constants/index.js +3 -1
- package/dist/components/Select/constants/list.d.ts +1 -0
- package/dist/components/Select/constants/list.js +4 -0
- package/dist/components/Toast/Toast.js +192 -184
- package/dist/components/Toast/Toast.variants.js +6 -12
- package/dist/components/VirtualizedTable/VirtualizedTable.js +57 -55
- package/dist/components/VirtualizedTable/VirtualizedTable.types.d.ts +2 -0
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +55 -54
- package/dist/components/VirtualizedTable/components/Filter/Filter.types.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +70 -66
- package/dist/index.js +1 -1
- package/dist/package.json +10 -10
- package/dist/proxy-BvdTb_6B.js +4974 -0
- package/dist/styles.css +1 -1
- package/package.json +10 -10
- package/dist/proxy-0sbyKj-k.js +0 -4946
|
@@ -111,6 +111,7 @@ export type SelectProps = VariantProps<typeof selectVariants> & Omit<InputHTMLAt
|
|
|
111
111
|
listItemSecondRowClassName?: string;
|
|
112
112
|
mainWrapperClassName?: string;
|
|
113
113
|
noOptionsText?: string;
|
|
114
|
+
visibleItems?: number;
|
|
114
115
|
options: Option[] | OptionGroup[];
|
|
115
116
|
searchable?: boolean;
|
|
116
117
|
showSearchIcon?: boolean;
|
|
@@ -1,48 +1,50 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { d as
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { Loading as
|
|
1
|
+
import { jsxs as H, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { d as Q } from "../../../../debounce-DJveWHr_.js";
|
|
3
|
+
import { forwardRef as W, useRef as I, useState as Y, useImperativeHandle as $, useMemo as N, useEffect as R, Fragment as ee } from "react";
|
|
4
|
+
import { Loading as te } from "../../../Loading/Loading.js";
|
|
5
5
|
import { cn as s } from "../../../../utils/index.js";
|
|
6
|
-
import { useNavigationUlList as
|
|
7
|
-
import { A as
|
|
6
|
+
import { useNavigationUlList as re } from "../../hooks/useNavigationList.js";
|
|
7
|
+
import { A as oe, i as ne } from "../../../../AdditionalOptions-C2FDVZhu.js";
|
|
8
8
|
import { ListItem as g } from "../ListItem/ListItem.js";
|
|
9
|
-
import { listGroupLabelVariants as
|
|
10
|
-
import { DEFAULT_LIST_SIZE as
|
|
11
|
-
import {
|
|
12
|
-
|
|
9
|
+
import { listGroupLabelVariants as se, listVariants as ie } from "./List.variants.js";
|
|
10
|
+
import { DEFAULT_LIST_SIZE as ae } from "../../constants/pagination.js";
|
|
11
|
+
import { ITEM_HEIGHT_PX as le } from "../../constants/list.js";
|
|
12
|
+
import { useSelectContext as ce } from "../../contexts/select.hook.js";
|
|
13
|
+
const xe = W(
|
|
13
14
|
({
|
|
14
|
-
additionalOptions:
|
|
15
|
-
className:
|
|
15
|
+
additionalOptions: O,
|
|
16
|
+
className: P,
|
|
16
17
|
groupedOptions: l,
|
|
17
18
|
inputRef: c,
|
|
18
|
-
isLoading:
|
|
19
|
+
isLoading: _,
|
|
19
20
|
itemClassName: u,
|
|
20
|
-
name:
|
|
21
|
+
name: j,
|
|
21
22
|
searchable: f = !1,
|
|
22
23
|
listItemSecondRowClassName: p,
|
|
23
|
-
wrapperInputRef:
|
|
24
|
+
wrapperInputRef: A,
|
|
24
25
|
isInfiniteScrollEnabled: h,
|
|
25
26
|
noOptionsText: F,
|
|
26
|
-
onFetchMoreOptions:
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
onFetchMoreOptions: L,
|
|
28
|
+
visibleItems: E
|
|
29
|
+
}, M) => {
|
|
30
|
+
const m = I(null), b = I(null), [v, k] = Y(!1), {
|
|
29
31
|
canContinueFetching: d,
|
|
30
32
|
canFilter: y,
|
|
31
|
-
isOpen:
|
|
32
|
-
isTyping:
|
|
33
|
-
options:
|
|
33
|
+
isOpen: S,
|
|
34
|
+
isTyping: G,
|
|
35
|
+
options: T,
|
|
34
36
|
page: w,
|
|
35
37
|
searchTerm: n,
|
|
36
|
-
setCanContinueFetching:
|
|
37
|
-
setOptions:
|
|
38
|
-
setPage:
|
|
39
|
-
} =
|
|
40
|
-
|
|
41
|
-
const
|
|
38
|
+
setCanContinueFetching: U,
|
|
39
|
+
setOptions: V,
|
|
40
|
+
setPage: q
|
|
41
|
+
} = ce(), z = E !== void 0 ? { maxHeight: E * le } : void 0;
|
|
42
|
+
$(M, () => m.current, [m]);
|
|
43
|
+
const i = l.length > 0 && ne(l[0]), x = f && y ? T.filter((e) => {
|
|
42
44
|
const t = n.toLowerCase();
|
|
43
45
|
return (typeof e.label == "string" ? e.label.toLowerCase() : "").includes(t);
|
|
44
|
-
}) :
|
|
45
|
-
if (!
|
|
46
|
+
}) : T, C = N(() => {
|
|
47
|
+
if (!i)
|
|
46
48
|
return [];
|
|
47
49
|
const e = l;
|
|
48
50
|
if (!f || !y || !n)
|
|
@@ -51,61 +53,62 @@ const Le = Q(
|
|
|
51
53
|
return e.map((r) => ({
|
|
52
54
|
...r,
|
|
53
55
|
options: r.options.filter(
|
|
54
|
-
(
|
|
56
|
+
(a) => a.label.toLowerCase().includes(t)
|
|
55
57
|
)
|
|
56
58
|
})).filter((r) => r.options.length > 0);
|
|
57
|
-
}, [
|
|
58
|
-
|
|
59
|
+
}, [i, l, f, y, n]), D = i ? C.flatMap((e) => e.options) : x;
|
|
60
|
+
re({
|
|
59
61
|
ulRef: m,
|
|
60
|
-
wrapperInputRef:
|
|
62
|
+
wrapperInputRef: A,
|
|
61
63
|
searchable: f,
|
|
62
|
-
filteredOptions:
|
|
64
|
+
filteredOptions: D
|
|
63
65
|
});
|
|
64
|
-
const
|
|
65
|
-
(e, t, r) => t === r.findIndex((
|
|
66
|
-
),
|
|
67
|
-
() =>
|
|
66
|
+
const X = x.filter(
|
|
67
|
+
(e, t, r) => t === r.findIndex((a) => a.value === e.value)
|
|
68
|
+
), Z = i ? C.length === 0 : x.length === 0, B = N(
|
|
69
|
+
() => Q(async (e) => {
|
|
68
70
|
const [t] = e;
|
|
69
|
-
if (t.isIntersecting && !v &&
|
|
71
|
+
if (t.isIntersecting && !v && L && d)
|
|
70
72
|
try {
|
|
71
73
|
k(!0);
|
|
72
|
-
const r = w + 1, { data:
|
|
74
|
+
const r = w + 1, { data: a, hasMore: J } = await L({
|
|
73
75
|
page: r,
|
|
74
|
-
pageSize:
|
|
76
|
+
pageSize: ae,
|
|
75
77
|
termOfSearch: n
|
|
76
78
|
});
|
|
77
|
-
|
|
79
|
+
q(r), U(J), V((K) => [...K, ...a]);
|
|
78
80
|
} catch {
|
|
79
81
|
console.error("Error fetching more options");
|
|
80
82
|
} finally {
|
|
81
83
|
k(!1);
|
|
82
84
|
}
|
|
83
85
|
}, 100),
|
|
84
|
-
[v,
|
|
86
|
+
[v, L, n, w]
|
|
85
87
|
);
|
|
86
|
-
return
|
|
87
|
-
if (h && d &&
|
|
88
|
-
const e = new IntersectionObserver(
|
|
88
|
+
return R(() => {
|
|
89
|
+
if (h && d && b.current && !G) {
|
|
90
|
+
const e = new IntersectionObserver(B, {
|
|
89
91
|
threshold: 0.1
|
|
90
92
|
});
|
|
91
|
-
return e.observe(
|
|
93
|
+
return e.observe(b.current), () => e.disconnect();
|
|
92
94
|
}
|
|
93
95
|
}, [
|
|
94
96
|
h,
|
|
95
97
|
d,
|
|
96
98
|
v,
|
|
97
|
-
|
|
99
|
+
G,
|
|
98
100
|
w
|
|
99
|
-
]), /* @__PURE__ */
|
|
101
|
+
]), /* @__PURE__ */ H(
|
|
100
102
|
"ul",
|
|
101
103
|
{
|
|
102
104
|
ref: m,
|
|
103
|
-
title:
|
|
105
|
+
title: j,
|
|
104
106
|
role: "listbox",
|
|
105
|
-
className: s(
|
|
106
|
-
|
|
107
|
+
className: s(ie({ className: P })),
|
|
108
|
+
style: z,
|
|
109
|
+
"data-state": S ? "open" : "closed",
|
|
107
110
|
children: [
|
|
108
|
-
|
|
111
|
+
_ ? /* @__PURE__ */ o(
|
|
109
112
|
g,
|
|
110
113
|
{
|
|
111
114
|
className: s("select-none", u),
|
|
@@ -115,7 +118,7 @@ const Le = Q(
|
|
|
115
118
|
label: "Loading...",
|
|
116
119
|
listItemSecondRowClassName: p
|
|
117
120
|
}
|
|
118
|
-
) :
|
|
121
|
+
) : Z ? /* @__PURE__ */ o(
|
|
119
122
|
g,
|
|
120
123
|
{
|
|
121
124
|
isEmpty: !0,
|
|
@@ -126,14 +129,14 @@ const Le = Q(
|
|
|
126
129
|
label: F ?? "No options",
|
|
127
130
|
listItemSecondRowClassName: p
|
|
128
131
|
}
|
|
129
|
-
) :
|
|
132
|
+
) : i ? C.map((e) => /* @__PURE__ */ H(ee, { children: [
|
|
130
133
|
/* @__PURE__ */ o(
|
|
131
134
|
"li",
|
|
132
135
|
{
|
|
133
136
|
role: "presentation",
|
|
134
137
|
"aria-hidden": "true",
|
|
135
138
|
"data-action": "true",
|
|
136
|
-
className: s(
|
|
139
|
+
className: s(se()),
|
|
137
140
|
children: e.groupLabel
|
|
138
141
|
}
|
|
139
142
|
),
|
|
@@ -148,7 +151,7 @@ const Le = Q(
|
|
|
148
151
|
},
|
|
149
152
|
t.value
|
|
150
153
|
))
|
|
151
|
-
] }, e.groupLabel)) :
|
|
154
|
+
] }, e.groupLabel)) : X.map((e) => /* @__PURE__ */ o(
|
|
152
155
|
g,
|
|
153
156
|
{
|
|
154
157
|
className: s("select-none", u),
|
|
@@ -162,20 +165,20 @@ const Le = Q(
|
|
|
162
165
|
h && d && /* @__PURE__ */ o(
|
|
163
166
|
"li",
|
|
164
167
|
{
|
|
165
|
-
ref:
|
|
168
|
+
ref: b,
|
|
166
169
|
role: "option",
|
|
167
170
|
"data-action": "true",
|
|
168
171
|
className: "flex items-center justify-center py-3",
|
|
169
172
|
onClick: (e) => e.stopPropagation(),
|
|
170
|
-
children: /* @__PURE__ */ o(
|
|
173
|
+
children: /* @__PURE__ */ o(te, { className: "w-4 h-4 text-aurora-500 select-none" })
|
|
171
174
|
}
|
|
172
175
|
),
|
|
173
|
-
/* @__PURE__ */ o(
|
|
176
|
+
/* @__PURE__ */ o(oe, { additionalOptions: O })
|
|
174
177
|
]
|
|
175
178
|
}
|
|
176
179
|
);
|
|
177
180
|
}
|
|
178
181
|
);
|
|
179
182
|
export {
|
|
180
|
-
|
|
183
|
+
xe as List
|
|
181
184
|
};
|
|
@@ -12,4 +12,5 @@ export type ListProps = Pick<SelectProps, 'name' | 'options' | 'theme' | 'additi
|
|
|
12
12
|
isInfiniteScrollEnabled: SelectProps['isInfiniteScrollEnabled'];
|
|
13
13
|
onFetchMoreOptions?: SelectProps['onFetchMoreOptions'];
|
|
14
14
|
noOptionsText?: SelectProps['noOptionsText'];
|
|
15
|
+
visibleItems?: number;
|
|
15
16
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { Typography as
|
|
2
|
+
import { forwardRef as re, useId as ne, useRef as w, useMemo as le, useImperativeHandle as se, useEffect as oe } from "react";
|
|
3
|
+
import { Typography as ce } from "../../Typography/Typography.js";
|
|
4
4
|
import { cn as n } from "../../../utils/index.js";
|
|
5
|
-
import { labelVariants as
|
|
6
|
-
import { useSelect as
|
|
7
|
-
import { List as
|
|
8
|
-
import { c as
|
|
9
|
-
import { LoaderIcon as
|
|
10
|
-
import { C as
|
|
11
|
-
import { useSelectContext as
|
|
12
|
-
const
|
|
5
|
+
import { labelVariants as ie, inputVariants as me, selectVariants as pe } from "../Select.variants.js";
|
|
6
|
+
import { useSelect as ue } from "../hooks/useSelect.js";
|
|
7
|
+
import { List as fe } from "./List/List.js";
|
|
8
|
+
import { c as de } from "../../../createLucideIcon-CP-mMPfa.js";
|
|
9
|
+
import { LoaderIcon as xe } from "../../../assets/icons/components/Loader.js";
|
|
10
|
+
import { C as he } from "../../../chevron-up-IlDPxR7j.js";
|
|
11
|
+
import { useSelectContext as ve } from "../contexts/select.hook.js";
|
|
12
|
+
const Ne = [
|
|
13
13
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
14
14
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
15
|
-
],
|
|
15
|
+
], Ce = de("search", Ne), Re = re(
|
|
16
16
|
({
|
|
17
17
|
additionalOptions: z,
|
|
18
18
|
className: O,
|
|
@@ -38,47 +38,48 @@ const ve = [
|
|
|
38
38
|
searchable: k = !1,
|
|
39
39
|
showSearchIcon: C,
|
|
40
40
|
theme: U,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
visibleItems: q,
|
|
42
|
+
wrapperClassName: A,
|
|
43
|
+
onFetchMoreOptions: B,
|
|
44
|
+
onBlur: D,
|
|
45
|
+
onSearchChange: G,
|
|
45
46
|
...y
|
|
46
|
-
},
|
|
47
|
-
const I =
|
|
47
|
+
}, J) => {
|
|
48
|
+
const I = ne(), c = w(null), j = w(null), K = w(0), {
|
|
48
49
|
isOpen: i,
|
|
49
50
|
options: l,
|
|
50
|
-
searchTerm:
|
|
51
|
+
searchTerm: Q,
|
|
51
52
|
value: s,
|
|
52
|
-
setCanFilter:
|
|
53
|
-
setSearchTerm:
|
|
53
|
+
setCanFilter: X,
|
|
54
|
+
setSearchTerm: Y,
|
|
54
55
|
setValue: m,
|
|
55
|
-
toggleOpen:
|
|
56
|
-
} =
|
|
56
|
+
toggleOpen: Z
|
|
57
|
+
} = ve(), e = le(() => l.find(({ value: a }) => a === s), [l, s]), { wrapperRef: ee, wrapperInputRef: L, handleOpen: V } = ue({
|
|
57
58
|
ulRef: j,
|
|
58
59
|
inputRef: c,
|
|
59
60
|
disabled: t,
|
|
60
61
|
internalValue: e,
|
|
61
|
-
onBlur:
|
|
62
|
+
onBlur: D
|
|
62
63
|
}), p = d ? `${I}-${d}` : I;
|
|
63
|
-
|
|
64
|
+
se(J, () => c.current, [c]), oe(() => {
|
|
64
65
|
if (x && !s) {
|
|
65
66
|
const a = l && l.find((u) => u.value === x);
|
|
66
67
|
a && m(a.value);
|
|
67
68
|
}
|
|
68
69
|
}, [x, l, m, s]);
|
|
69
|
-
const
|
|
70
|
+
const te = (a) => {
|
|
70
71
|
const u = a.target.value;
|
|
71
|
-
|
|
72
|
+
X(!0), m(""), Y(u ?? ""), G?.(u);
|
|
72
73
|
const b = l.find(
|
|
73
|
-
(
|
|
74
|
+
(ae) => ae.value.toLocaleLowerCase() === u.toLocaleLowerCase()
|
|
74
75
|
);
|
|
75
76
|
m(b ? b.value : e?.value ?? "");
|
|
76
77
|
};
|
|
77
78
|
return /* @__PURE__ */ o(
|
|
78
79
|
"div",
|
|
79
80
|
{
|
|
80
|
-
ref:
|
|
81
|
-
className: n("flex flex-col gap-2 w-full relative",
|
|
81
|
+
ref: ee,
|
|
82
|
+
className: n("flex flex-col gap-2 w-full relative", A),
|
|
82
83
|
"data-theme": U,
|
|
83
84
|
children: [
|
|
84
85
|
v ? /* @__PURE__ */ o(
|
|
@@ -93,7 +94,7 @@ const ve = [
|
|
|
93
94
|
"label",
|
|
94
95
|
{
|
|
95
96
|
id: p,
|
|
96
|
-
className: n(
|
|
97
|
+
className: n(ie({ className: M })),
|
|
97
98
|
htmlFor: p,
|
|
98
99
|
onClick: () => !t && V(),
|
|
99
100
|
children: [
|
|
@@ -112,18 +113,18 @@ const ve = [
|
|
|
112
113
|
ref: L,
|
|
113
114
|
id: p,
|
|
114
115
|
className: n(
|
|
115
|
-
|
|
116
|
+
pe({ className: O, hasError: !!f, disabled: t })
|
|
116
117
|
),
|
|
117
118
|
role: "combobox",
|
|
118
|
-
onClick: () => !t &&
|
|
119
|
+
onClick: () => !t && Z(!i),
|
|
119
120
|
"aria-expanded": i,
|
|
120
|
-
tabIndex:
|
|
121
|
+
tabIndex: K.current,
|
|
121
122
|
"aria-labelledby": p,
|
|
122
123
|
children: [
|
|
123
124
|
/* @__PURE__ */ o("div", { className: "flex gap-2.5 items-center flex-1", children: [
|
|
124
125
|
e?.leftIcon && !C && /* @__PURE__ */ r("span", { className: "w-4 h-4 flex justify-center items-center dark:text-metal-50", children: e.leftIcon }),
|
|
125
126
|
C && /* @__PURE__ */ r(
|
|
126
|
-
|
|
127
|
+
Ce,
|
|
127
128
|
{
|
|
128
129
|
className: n(
|
|
129
130
|
"w-4",
|
|
@@ -141,10 +142,10 @@ const ve = [
|
|
|
141
142
|
"input",
|
|
142
143
|
{
|
|
143
144
|
type: "text",
|
|
144
|
-
value: i ?
|
|
145
|
-
onChange:
|
|
145
|
+
value: i ? Q : e?.label ?? s ?? "",
|
|
146
|
+
onChange: te,
|
|
146
147
|
placeholder: N,
|
|
147
|
-
className: n(
|
|
148
|
+
className: n(me({ className: S }), {
|
|
148
149
|
"text-red-700 placeholder:text-red-700": !!f
|
|
149
150
|
}),
|
|
150
151
|
onClick: (a) => {
|
|
@@ -160,7 +161,7 @@ const ve = [
|
|
|
160
161
|
...y
|
|
161
162
|
}
|
|
162
163
|
) : /* @__PURE__ */ o(
|
|
163
|
-
|
|
164
|
+
ce,
|
|
164
165
|
{
|
|
165
166
|
variant: "body2",
|
|
166
167
|
className: n(
|
|
@@ -182,13 +183,13 @@ const ve = [
|
|
|
182
183
|
)
|
|
183
184
|
] }),
|
|
184
185
|
g ? /* @__PURE__ */ r(
|
|
185
|
-
|
|
186
|
+
xe,
|
|
186
187
|
{
|
|
187
188
|
size: 16,
|
|
188
189
|
className: "text-metal-400 animate-spin select-none"
|
|
189
190
|
}
|
|
190
191
|
) : !C && /* @__PURE__ */ r(
|
|
191
|
-
|
|
192
|
+
he,
|
|
192
193
|
{
|
|
193
194
|
"data-state": i ? "open" : "closed",
|
|
194
195
|
className: n(
|
|
@@ -219,7 +220,7 @@ const ve = [
|
|
|
219
220
|
}
|
|
220
221
|
),
|
|
221
222
|
i && /* @__PURE__ */ r(
|
|
222
|
-
|
|
223
|
+
fe,
|
|
223
224
|
{
|
|
224
225
|
ref: j,
|
|
225
226
|
additionalOptions: z,
|
|
@@ -234,8 +235,9 @@ const ve = [
|
|
|
234
235
|
searchable: k,
|
|
235
236
|
listItemSecondRowClassName: H,
|
|
236
237
|
isInfiniteScrollEnabled: T,
|
|
237
|
-
onFetchMoreOptions:
|
|
238
|
-
noOptionsText: P
|
|
238
|
+
onFetchMoreOptions: B,
|
|
239
|
+
noOptionsText: P,
|
|
240
|
+
visibleItems: q
|
|
239
241
|
}
|
|
240
242
|
)
|
|
241
243
|
]
|
|
@@ -244,5 +246,5 @@ const ve = [
|
|
|
244
246
|
}
|
|
245
247
|
);
|
|
246
248
|
export {
|
|
247
|
-
|
|
249
|
+
Re as Wrapper
|
|
248
250
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ITEM_HEIGHT_PX = 40;
|