@ledgerhq/lumen-ui-react 0.1.23 → 0.1.25
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/index.js +163 -154
- package/dist/lib/Components/DotCount/DotCount.d.ts +6 -0
- package/dist/lib/Components/DotCount/DotCount.d.ts.map +1 -0
- package/dist/lib/Components/DotCount/DotCount.js +92 -0
- package/dist/lib/Components/DotCount/index.d.ts +3 -0
- package/dist/lib/Components/DotCount/index.d.ts.map +1 -0
- package/dist/lib/Components/DotCount/types.d.ts +39 -0
- package/dist/lib/Components/DotCount/types.d.ts.map +1 -0
- package/dist/lib/Components/DotIcon/DotIcon.d.ts +32 -0
- package/dist/lib/Components/DotIcon/DotIcon.d.ts.map +1 -0
- package/dist/lib/Components/DotIcon/DotIcon.js +97 -0
- package/dist/lib/Components/DotIcon/index.d.ts +3 -0
- package/dist/lib/Components/DotIcon/index.d.ts.map +1 -0
- package/dist/lib/Components/DotIcon/types.d.ts +42 -0
- package/dist/lib/Components/DotIcon/types.d.ts.map +1 -0
- package/dist/lib/Components/DotIndicator/DotIndicator.d.ts +6 -0
- package/dist/lib/Components/DotIndicator/DotIndicator.d.ts.map +1 -0
- package/dist/lib/Components/DotIndicator/DotIndicator.js +66 -0
- package/dist/lib/Components/DotIndicator/index.d.ts +3 -0
- package/dist/lib/Components/DotIndicator/index.d.ts.map +1 -0
- package/dist/lib/Components/DotIndicator/types.d.ts +24 -0
- package/dist/lib/Components/DotIndicator/types.d.ts.map +1 -0
- package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
- package/dist/lib/Components/DotSymbol/DotSymbol.js +2 -1
- package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/lib/Components/MediaImage/MediaImage.js +8 -7
- package/dist/lib/Components/MediaImage/types.d.ts +1 -1
- package/dist/lib/Components/MediaImage/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.d.ts +4 -4
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +135 -126
- package/dist/lib/Components/Select/SelectContext.d.ts +1 -0
- package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -1
- package/dist/lib/Components/Select/index.d.ts +1 -1
- package/dist/lib/Components/Select/index.d.ts.map +1 -1
- package/dist/lib/Components/Select/types.d.ts +20 -14
- package/dist/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +10 -9
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -1
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.js +16 -15
- package/dist/lib/Components/Select/utils/groupItems.d.ts +8 -2
- package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -1
- package/dist/lib/Components/Select/utils/groupItems.js +13 -11
- package/dist/lib/Components/Select/utils/index.d.ts +1 -1
- package/dist/lib/Components/Select/utils/index.d.ts.map +1 -1
- package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/lib/Components/Tag/Tag.js +15 -14
- package/dist/lib/Components/Tag/types.d.ts +1 -1
- package/dist/lib/Components/Tag/types.d.ts.map +1 -1
- package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/lib/Components/index.d.ts +3 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +1 -1
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useDisabledContext as
|
|
3
|
-
import { cva as
|
|
4
|
-
import { useLayoutEffect as
|
|
5
|
-
import { SelectProvider as
|
|
6
|
-
import { useControllableState as
|
|
7
|
-
import { useSelectItems as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useDisabledContext as E, cn as l } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { cva as G } from "class-variance-authority";
|
|
4
|
+
import { useLayoutEffect as k } from "react";
|
|
5
|
+
import { SelectProvider as F, useSelectContext as u } from "./SelectContext.js";
|
|
6
|
+
import { useControllableState as M } from "../../../utils/useControllableState/useControllableState.js";
|
|
7
|
+
import { useSelectItems as W } from "./useSelectItems/useSelectItems.js";
|
|
8
|
+
import { resolveValue as b } from "./utils/groupItems.js";
|
|
9
|
+
import { SearchInput as A } from "../SearchInput/SearchInput.js";
|
|
10
|
+
import { Check as B } from "../../Symbols/Icons/Check.js";
|
|
11
|
+
import { Divider as H } from "../Divider/Divider.js";
|
|
12
|
+
import { ChevronDown as J } from "../../Symbols/Icons/ChevronDown.js";
|
|
13
|
+
import { ComboboxRoot as K } from "../../../node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js";
|
|
14
|
+
import { ComboboxTrigger as h } from "../../../node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js";
|
|
15
|
+
import { ComboboxPortal as O } from "../../../node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js";
|
|
16
|
+
import { ComboboxPositioner as Q } from "../../../node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js";
|
|
17
|
+
import { ComboboxPopup as U } from "../../../node_modules/@base-ui/react/esm/combobox/popup/ComboboxPopup.js";
|
|
18
|
+
import { ComboboxInput as X } from "../../../node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js";
|
|
19
|
+
import { ComboboxList as Y } from "../../../node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js";
|
|
20
|
+
import { ComboboxGroup as Z } from "../../../node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js";
|
|
21
|
+
import { ComboboxCollection as _ } from "../../../node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js";
|
|
22
|
+
import { ComboboxItem as $ } from "../../../node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js";
|
|
23
|
+
import { ComboboxItemIndicator as ee } from "../../../node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js";
|
|
24
|
+
import { ComboboxEmpty as te } from "../../../node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js";
|
|
25
|
+
import { ComboboxValue as x } from "../../../node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js";
|
|
26
|
+
import { ComboboxGroupLabel as oe } from "../../../node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js";
|
|
27
|
+
function Ge({
|
|
27
28
|
value: o,
|
|
28
29
|
defaultValue: a,
|
|
29
30
|
onValueChange: e,
|
|
@@ -32,96 +33,104 @@ function qe({
|
|
|
32
33
|
filter: n,
|
|
33
34
|
filteredItems: i,
|
|
34
35
|
searchValue: c,
|
|
35
|
-
defaultSearchValue:
|
|
36
|
-
onSearchValueChange:
|
|
37
|
-
open:
|
|
38
|
-
defaultOpen:
|
|
39
|
-
onOpenChange:
|
|
40
|
-
name:
|
|
41
|
-
required:
|
|
42
|
-
children:
|
|
36
|
+
defaultSearchValue: p,
|
|
37
|
+
onSearchValueChange: g,
|
|
38
|
+
open: S,
|
|
39
|
+
defaultOpen: y,
|
|
40
|
+
onOpenChange: v,
|
|
41
|
+
name: C,
|
|
42
|
+
required: N,
|
|
43
|
+
children: w
|
|
43
44
|
}) {
|
|
44
|
-
const
|
|
45
|
+
const I = E({
|
|
45
46
|
consumerName: "Select",
|
|
46
47
|
mergeWith: { disabled: r }
|
|
47
|
-
}), [
|
|
48
|
+
}), [f, V] = M(
|
|
48
49
|
{
|
|
49
50
|
prop: o,
|
|
50
51
|
defaultProp: a ?? null,
|
|
51
|
-
onChange: (
|
|
52
|
-
e?.(
|
|
52
|
+
onChange: (d) => {
|
|
53
|
+
e?.(d);
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
56
|
), {
|
|
56
|
-
isGrouped:
|
|
57
|
-
groupedItems:
|
|
58
|
-
filteredItemsForRoot:
|
|
59
|
-
resolvedSearchValue:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
isGrouped: T,
|
|
58
|
+
groupedItems: L,
|
|
59
|
+
filteredItemsForRoot: R,
|
|
60
|
+
resolvedSearchValue: q,
|
|
61
|
+
searchMounted: P,
|
|
62
|
+
registerSearch: j,
|
|
63
|
+
handleSearchValueChange: z
|
|
64
|
+
} = W({
|
|
63
65
|
items: s,
|
|
64
66
|
filter: n,
|
|
65
67
|
filteredItems: i,
|
|
66
68
|
searchValue: c,
|
|
67
|
-
defaultSearchValue:
|
|
68
|
-
onSearchValueChange:
|
|
69
|
+
defaultSearchValue: p,
|
|
70
|
+
onSearchValueChange: g
|
|
69
71
|
});
|
|
70
72
|
return /* @__PURE__ */ t(
|
|
71
|
-
|
|
73
|
+
K,
|
|
72
74
|
{
|
|
73
75
|
"data-slot": "select",
|
|
74
76
|
filter: null,
|
|
75
|
-
items:
|
|
76
|
-
filteredItems:
|
|
77
|
-
inputValue:
|
|
78
|
-
onInputValueChange:
|
|
79
|
-
value:
|
|
80
|
-
onValueChange:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
77
|
+
items: L ?? s,
|
|
78
|
+
filteredItems: R,
|
|
79
|
+
inputValue: q,
|
|
80
|
+
onInputValueChange: z,
|
|
81
|
+
value: f,
|
|
82
|
+
onValueChange: (d) => V(b(d)),
|
|
83
|
+
isItemEqualToValue: (d, D) => b(d) === b(D),
|
|
84
|
+
open: S,
|
|
85
|
+
defaultOpen: y,
|
|
86
|
+
onOpenChange: v,
|
|
87
|
+
name: C,
|
|
88
|
+
required: N,
|
|
89
|
+
disabled: I,
|
|
90
|
+
children: /* @__PURE__ */ t(
|
|
91
|
+
F,
|
|
92
|
+
{
|
|
93
|
+
value: { selectedValue: f, registerSearch: j, isGrouped: T, searchMounted: P },
|
|
94
|
+
children: w
|
|
95
|
+
}
|
|
96
|
+
)
|
|
88
97
|
}
|
|
89
98
|
);
|
|
90
99
|
}
|
|
91
|
-
const
|
|
100
|
+
const ae = l(
|
|
92
101
|
"group relative flex h-48 w-full cursor-pointer items-center justify-between gap-8",
|
|
93
102
|
"rounded-sm bg-muted px-16",
|
|
94
103
|
"body-2 text-base",
|
|
95
104
|
"hover:bg-muted-hover",
|
|
96
105
|
"transition-colors duration-200 focus:ring-2 focus:ring-active focus:outline-hidden",
|
|
97
106
|
"disabled:cursor-not-allowed disabled:text-disabled"
|
|
98
|
-
),
|
|
107
|
+
), re = l(
|
|
99
108
|
"pointer-events-none absolute left-16 origin-left text-muted transition-all duration-300",
|
|
100
109
|
"top-10 -translate-y-4 body-4",
|
|
101
110
|
"group-data-placeholder:top-14 group-data-placeholder:translate-y-0 group-data-placeholder:body-2",
|
|
102
111
|
"group-data-disabled:text-disabled",
|
|
103
112
|
"max-w-[calc(100%-var(--size-56))] truncate"
|
|
104
|
-
),
|
|
113
|
+
), le = ({
|
|
105
114
|
ref: o,
|
|
106
115
|
className: a,
|
|
107
116
|
labelClassName: e,
|
|
108
117
|
label: r,
|
|
109
118
|
...s
|
|
110
119
|
}) => {
|
|
111
|
-
const { selectedValue: n } =
|
|
120
|
+
const { selectedValue: n } = u({
|
|
112
121
|
consumerName: "SelectInputTrigger",
|
|
113
122
|
contextRequired: !0
|
|
114
123
|
}), i = n != null && n !== "";
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
-
|
|
124
|
+
return /* @__PURE__ */ m(
|
|
125
|
+
h,
|
|
117
126
|
{
|
|
118
127
|
ref: o,
|
|
119
128
|
"data-slot": "select-trigger",
|
|
120
129
|
"data-placeholder": i ? void 0 : "",
|
|
121
|
-
className: l(
|
|
130
|
+
className: l(ae, a),
|
|
122
131
|
...s,
|
|
123
132
|
children: [
|
|
124
|
-
r && /* @__PURE__ */ t("label", { className: l(
|
|
133
|
+
r && /* @__PURE__ */ t("label", { className: l(re, e), children: r }),
|
|
125
134
|
/* @__PURE__ */ t(
|
|
126
135
|
"span",
|
|
127
136
|
{
|
|
@@ -130,11 +139,11 @@ const ee = l(
|
|
|
130
139
|
r && "mt-16 opacity-100 transition-opacity delay-100 duration-300",
|
|
131
140
|
r && !i && "mt-0 opacity-0"
|
|
132
141
|
),
|
|
133
|
-
children: /* @__PURE__ */ t(
|
|
142
|
+
children: /* @__PURE__ */ t(x, {})
|
|
134
143
|
}
|
|
135
144
|
),
|
|
136
145
|
/* @__PURE__ */ t(
|
|
137
|
-
|
|
146
|
+
J,
|
|
138
147
|
{
|
|
139
148
|
size: 20,
|
|
140
149
|
className: "text-muted group-data-disabled:text-disabled"
|
|
@@ -143,21 +152,21 @@ const ee = l(
|
|
|
143
152
|
]
|
|
144
153
|
}
|
|
145
154
|
);
|
|
146
|
-
},
|
|
147
|
-
const { selectedValue: r } =
|
|
155
|
+
}, ke = ({ render: o, disabled: a, ...e }) => {
|
|
156
|
+
const { selectedValue: r } = u({
|
|
148
157
|
consumerName: "SelectTrigger",
|
|
149
158
|
contextRequired: !0
|
|
150
|
-
}), s = /* @__PURE__ */ t(
|
|
159
|
+
}), s = /* @__PURE__ */ t(x, {});
|
|
151
160
|
return o ? /* @__PURE__ */ t(
|
|
152
|
-
|
|
161
|
+
h,
|
|
153
162
|
{
|
|
154
163
|
disabled: a,
|
|
155
164
|
ref: e.ref,
|
|
156
165
|
"data-slot": "select-trigger",
|
|
157
166
|
render: o({ selectedValue: r, selectedContent: s })
|
|
158
167
|
}
|
|
159
|
-
) : /* @__PURE__ */ t(
|
|
160
|
-
},
|
|
168
|
+
) : /* @__PURE__ */ t(le, { ...e, disabled: a });
|
|
169
|
+
}, se = G(
|
|
161
170
|
[
|
|
162
171
|
"group/select-content relative flex max-h-(--available-height) w-(--anchor-width) flex-col overflow-hidden",
|
|
163
172
|
"rounded-sm bg-surface",
|
|
@@ -185,17 +194,17 @@ const ee = l(
|
|
|
185
194
|
}
|
|
186
195
|
}
|
|
187
196
|
}
|
|
188
|
-
),
|
|
197
|
+
), Fe = ({
|
|
189
198
|
ref: o,
|
|
190
199
|
className: a,
|
|
191
200
|
children: e,
|
|
192
201
|
side: r = "bottom",
|
|
193
202
|
sideOffset: s = 8,
|
|
194
203
|
align: n = "start",
|
|
195
|
-
|
|
204
|
+
initialFocus: i = !0,
|
|
196
205
|
...c
|
|
197
|
-
}) => /* @__PURE__ */ t(
|
|
198
|
-
|
|
206
|
+
}) => /* @__PURE__ */ t(O, { "data-slot": "select-portal", children: /* @__PURE__ */ t(
|
|
207
|
+
Q,
|
|
199
208
|
{
|
|
200
209
|
"data-slot": "select-positioner",
|
|
201
210
|
className: "pointer-events-auto z-select",
|
|
@@ -203,61 +212,61 @@ const ee = l(
|
|
|
203
212
|
sideOffset: s,
|
|
204
213
|
align: n,
|
|
205
214
|
children: /* @__PURE__ */ t(
|
|
206
|
-
|
|
215
|
+
U,
|
|
207
216
|
{
|
|
208
217
|
ref: o,
|
|
209
218
|
"data-slot": "select-content",
|
|
210
|
-
initialFocus: i
|
|
211
|
-
className: l(
|
|
219
|
+
initialFocus: i,
|
|
220
|
+
className: l(se({ side: r }), a),
|
|
212
221
|
...c,
|
|
213
222
|
children: e
|
|
214
223
|
}
|
|
215
224
|
)
|
|
216
225
|
}
|
|
217
|
-
) }),
|
|
226
|
+
) }), Me = ({
|
|
218
227
|
ref: o,
|
|
219
228
|
className: a,
|
|
220
229
|
renderItem: e,
|
|
221
230
|
...r
|
|
222
231
|
}) => {
|
|
223
|
-
const { isGrouped: s } =
|
|
232
|
+
const { isGrouped: s } = u({
|
|
224
233
|
consumerName: "SelectList",
|
|
225
234
|
contextRequired: !0
|
|
226
235
|
});
|
|
227
236
|
return /* @__PURE__ */ t(
|
|
228
|
-
|
|
237
|
+
Y,
|
|
229
238
|
{
|
|
230
239
|
ref: o,
|
|
231
240
|
"data-slot": "select-list",
|
|
232
241
|
className: l(
|
|
233
|
-
"min-h-0 min-w-(--anchor-width) flex-1 overflow-y-auto p-8 group-data-empty/select-content:p-0",
|
|
242
|
+
"min-h-0 min-w-(--anchor-width) flex-1 overflow-y-auto p-8 group-data-empty/select-content:p-0 focus:ring-0 focus:outline-hidden",
|
|
234
243
|
a
|
|
235
244
|
),
|
|
236
245
|
...r,
|
|
237
|
-
children: s ? (n, i) => /* @__PURE__ */
|
|
238
|
-
|
|
246
|
+
children: s ? (n, i) => /* @__PURE__ */ m(
|
|
247
|
+
Z,
|
|
239
248
|
{
|
|
240
249
|
items: n.items,
|
|
241
250
|
"data-slot": "select-group",
|
|
242
251
|
children: [
|
|
243
|
-
i > 0 && /* @__PURE__ */ t(
|
|
244
|
-
n.label && /* @__PURE__ */ t(
|
|
245
|
-
/* @__PURE__ */ t(
|
|
252
|
+
i > 0 && /* @__PURE__ */ t(ce, {}),
|
|
253
|
+
n.label && /* @__PURE__ */ t(ne, { children: n.label }),
|
|
254
|
+
/* @__PURE__ */ t(_, { children: e })
|
|
246
255
|
]
|
|
247
256
|
},
|
|
248
257
|
n.label
|
|
249
258
|
) : e
|
|
250
259
|
}
|
|
251
260
|
);
|
|
252
|
-
},
|
|
253
|
-
|
|
261
|
+
}, ne = ({ ref: o, className: a, ...e }) => /* @__PURE__ */ t(
|
|
262
|
+
oe,
|
|
254
263
|
{
|
|
255
264
|
ref: o,
|
|
256
265
|
"data-slot": "select-label",
|
|
257
266
|
className: l("mb-4 px-8 pt-8 pb-0 body-3-semi-bold text-muted", a),
|
|
258
267
|
...e
|
|
259
268
|
}
|
|
260
|
-
),
|
|
269
|
+
), ie = l(
|
|
261
270
|
"group/item flex w-full min-w-0 cursor-pointer items-center gap-12 bg-base-transparent select-none",
|
|
262
271
|
"rounded-sm p-8",
|
|
263
272
|
"body-2 text-base",
|
|
@@ -265,28 +274,28 @@ const ee = l(
|
|
|
265
274
|
"data-highlighted:bg-base-transparent-hover",
|
|
266
275
|
"active:bg-base-transparent-pressed",
|
|
267
276
|
"data-disabled:cursor-not-allowed data-disabled:text-disabled"
|
|
268
|
-
),
|
|
277
|
+
), We = ({
|
|
269
278
|
ref: o,
|
|
270
279
|
className: a,
|
|
271
280
|
children: e,
|
|
272
281
|
...r
|
|
273
|
-
}) => /* @__PURE__ */
|
|
274
|
-
|
|
282
|
+
}) => /* @__PURE__ */ m(
|
|
283
|
+
$,
|
|
275
284
|
{
|
|
276
285
|
ref: o,
|
|
277
286
|
"data-slot": "select-item",
|
|
278
|
-
className: l(
|
|
287
|
+
className: l(ie, a),
|
|
279
288
|
...r,
|
|
280
289
|
children: [
|
|
281
290
|
e,
|
|
282
|
-
/* @__PURE__ */ t(
|
|
291
|
+
/* @__PURE__ */ t(ee, { className: "ml-auto flex shrink-0 items-center justify-center", children: /* @__PURE__ */ t(B, { size: 24, className: "shrink-0 text-active" }) })
|
|
283
292
|
]
|
|
284
293
|
}
|
|
285
|
-
),
|
|
294
|
+
), ce = ({
|
|
286
295
|
ref: o,
|
|
287
296
|
className: a,
|
|
288
297
|
...e
|
|
289
|
-
}) => /* @__PURE__ */ t(
|
|
298
|
+
}) => /* @__PURE__ */ t(H, { ref: o, className: l("mx-8 my-4 w-auto", a), ...e }), Ae = ({ ref: o, className: a, ...e }) => /* @__PURE__ */ t(
|
|
290
299
|
"span",
|
|
291
300
|
{
|
|
292
301
|
ref: o,
|
|
@@ -294,7 +303,7 @@ const ee = l(
|
|
|
294
303
|
className: l("truncate body-2", a),
|
|
295
304
|
...e
|
|
296
305
|
}
|
|
297
|
-
),
|
|
306
|
+
), Be = ({
|
|
298
307
|
ref: o,
|
|
299
308
|
className: a,
|
|
300
309
|
children: e,
|
|
@@ -308,7 +317,7 @@ const ee = l(
|
|
|
308
317
|
...r,
|
|
309
318
|
children: e
|
|
310
319
|
}
|
|
311
|
-
),
|
|
320
|
+
), He = ({
|
|
312
321
|
ref: o,
|
|
313
322
|
className: a,
|
|
314
323
|
children: e,
|
|
@@ -326,7 +335,7 @@ const ee = l(
|
|
|
326
335
|
...r,
|
|
327
336
|
children: e
|
|
328
337
|
}
|
|
329
|
-
),
|
|
338
|
+
), Je = ({
|
|
330
339
|
className: o,
|
|
331
340
|
placeholder: a = "Search",
|
|
332
341
|
errorMessage: e,
|
|
@@ -335,17 +344,17 @@ const ee = l(
|
|
|
335
344
|
onClear: n,
|
|
336
345
|
hideClearButton: i
|
|
337
346
|
}) => {
|
|
338
|
-
const { registerSearch: c } =
|
|
347
|
+
const { registerSearch: c } = u({
|
|
339
348
|
consumerName: "SelectSearch",
|
|
340
349
|
contextRequired: !0
|
|
341
350
|
});
|
|
342
|
-
return
|
|
343
|
-
|
|
351
|
+
return k(() => c(), [c]), /* @__PURE__ */ t(
|
|
352
|
+
X,
|
|
344
353
|
{
|
|
345
|
-
render: (
|
|
346
|
-
|
|
354
|
+
render: (p) => /* @__PURE__ */ t(
|
|
355
|
+
A,
|
|
347
356
|
{
|
|
348
|
-
...
|
|
357
|
+
...p,
|
|
349
358
|
"aria-invalid": r,
|
|
350
359
|
errorMessage: e,
|
|
351
360
|
suffix: s,
|
|
@@ -358,14 +367,14 @@ const ee = l(
|
|
|
358
367
|
)
|
|
359
368
|
}
|
|
360
369
|
);
|
|
361
|
-
},
|
|
370
|
+
}, Ke = ({
|
|
362
371
|
ref: o,
|
|
363
372
|
className: a,
|
|
364
373
|
title: e,
|
|
365
374
|
description: r,
|
|
366
375
|
...s
|
|
367
|
-
}) => /* @__PURE__ */
|
|
368
|
-
|
|
376
|
+
}) => /* @__PURE__ */ m(
|
|
377
|
+
te,
|
|
369
378
|
{
|
|
370
379
|
ref: o,
|
|
371
380
|
"data-slot": "select-empty-state",
|
|
@@ -382,15 +391,15 @@ const ee = l(
|
|
|
382
391
|
}
|
|
383
392
|
);
|
|
384
393
|
export {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
Ge as Select,
|
|
395
|
+
Fe as SelectContent,
|
|
396
|
+
Ke as SelectEmptyState,
|
|
397
|
+
We as SelectItem,
|
|
398
|
+
Be as SelectItemContent,
|
|
399
|
+
He as SelectItemDescription,
|
|
400
|
+
Ae as SelectItemText,
|
|
401
|
+
Me as SelectList,
|
|
402
|
+
Je as SelectSearch,
|
|
403
|
+
ce as SelectSeparator,
|
|
404
|
+
ke as SelectTrigger
|
|
396
405
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContext.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/SelectContext.tsx"],"names":[],"mappings":"AAEA,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,MAAM,IAAI,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectContext.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/SelectContext.tsx"],"names":[],"mappings":"AAEA,KAAK,kBAAkB,GAAG;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,MAAM,IAAI,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAO,cAAc;;;IAAE,gBAAgB;;;qFACG,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './Select';
|
|
2
|
-
export type { SelectItemData, SelectProps, SelectTriggerProps, SelectTriggerRenderProps, SelectContentProps, SelectSearchProps, SelectListProps, SelectItemTextProps, SelectItemContentProps, SelectItemDescriptionProps, SelectItemProps, SelectSeparatorProps, SelectEmptyStateProps, } from './types';
|
|
2
|
+
export type { MetaShape, SelectItemData, SelectProps, SelectTriggerProps, SelectTriggerRenderProps, SelectContentProps, SelectSearchProps, SelectListProps, SelectItemTextProps, SelectItemContentProps, SelectItemDescriptionProps, SelectItemProps, SelectSeparatorProps, SelectEmptyStateProps, } from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,YAAY,EACV,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,YAAY,EACV,SAAS,EACT,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { ComponentPropsWithRef, ReactElement, ReactNode, RefObject } from 'react';
|
|
2
2
|
import { SearchInputProps } from '../SearchInput/types';
|
|
3
|
-
export type
|
|
3
|
+
export type MetaShape = Record<string, unknown>;
|
|
4
|
+
export type SelectItemData<TMeta extends MetaShape = MetaShape> = {
|
|
4
5
|
/** Unique string identifier for this item, used for selection tracking. */
|
|
5
6
|
value: string;
|
|
6
7
|
/** Display text used in the trigger. Also the field matched against by the default search filter. */
|
|
@@ -23,14 +24,14 @@ export type SelectItemData<Meta = Record<string, unknown>> = {
|
|
|
23
24
|
* Use it to carry extra fields (icons, tickers, IDs, etc.)
|
|
24
25
|
* that your render function or custom filter needs.
|
|
25
26
|
*/
|
|
26
|
-
meta?:
|
|
27
|
+
meta?: TMeta;
|
|
27
28
|
};
|
|
28
29
|
/** @internal A named group of select items, used to represent a resolved group with its header label and child items. */
|
|
29
|
-
export type SelectItemGroup = {
|
|
30
|
+
export type SelectItemGroup<TMeta extends MetaShape = MetaShape> = {
|
|
30
31
|
/** The displayed group name, matching the `group` field on each child item. */
|
|
31
32
|
label: string;
|
|
32
33
|
/** The items belonging to this group. */
|
|
33
|
-
items: SelectItemData[];
|
|
34
|
+
items: SelectItemData<TMeta>[];
|
|
34
35
|
};
|
|
35
36
|
export type SelectTriggerRenderProps = {
|
|
36
37
|
/**
|
|
@@ -42,7 +43,7 @@ export type SelectTriggerRenderProps = {
|
|
|
42
43
|
*/
|
|
43
44
|
selectedContent: ReactNode;
|
|
44
45
|
};
|
|
45
|
-
export type SelectProps = {
|
|
46
|
+
export type SelectProps<TMeta extends MetaShape = MetaShape> = {
|
|
46
47
|
/**
|
|
47
48
|
* The children of the select.
|
|
48
49
|
*/
|
|
@@ -58,7 +59,7 @@ export type SelectProps = {
|
|
|
58
59
|
* them by that value, rendering group headers, separators, and per-group
|
|
59
60
|
* collection iteration internally.
|
|
60
61
|
*/
|
|
61
|
-
items: SelectItemData[];
|
|
62
|
+
items: SelectItemData<TMeta>[];
|
|
62
63
|
/**
|
|
63
64
|
* Filter function used to match items against a search query.
|
|
64
65
|
* When `SelectSearch` is rendered inside the content, a default case-insensitive
|
|
@@ -69,13 +70,13 @@ export type SelectProps = {
|
|
|
69
70
|
* items within each group. Empty groups are automatically hidden.
|
|
70
71
|
* @default undefined
|
|
71
72
|
*/
|
|
72
|
-
filter?: null | ((item: SelectItemData
|
|
73
|
+
filter?: null | ((item: SelectItemData<TMeta>, query: string) => boolean);
|
|
73
74
|
/**
|
|
74
75
|
* Pre-filtered items to display in the list. When provided, the component uses
|
|
75
76
|
* these items directly instead of filtering `items` internally. Use alongside
|
|
76
77
|
* `onSearchValueChange` for async/remote search where the server handles filtering.
|
|
77
78
|
*/
|
|
78
|
-
filteredItems?: SelectItemData[];
|
|
79
|
+
filteredItems?: SelectItemData<TMeta>[];
|
|
79
80
|
/**
|
|
80
81
|
* The controlled search input value.
|
|
81
82
|
* Should be used in conjunction with `onSearchValueChange`.
|
|
@@ -182,12 +183,17 @@ export type SelectContentProps = {
|
|
|
182
183
|
*/
|
|
183
184
|
className?: string;
|
|
184
185
|
/**
|
|
185
|
-
*
|
|
186
|
-
*
|
|
186
|
+
* Determines the element to focus when the popover is opened.
|
|
187
|
+
*
|
|
188
|
+
* - `false`: Do not move focus.
|
|
189
|
+
* - `true`: Move focus based on the default behavior (first tabbable element of the select content).
|
|
190
|
+
* - `RefObject`: Move focus to the ref element.
|
|
191
|
+
*
|
|
192
|
+
* @default true
|
|
187
193
|
*/
|
|
188
|
-
|
|
194
|
+
initialFocus?: boolean | RefObject<HTMLElement | null>;
|
|
189
195
|
} & ComponentPropsWithRef<'div'>;
|
|
190
|
-
export type SelectListProps = {
|
|
196
|
+
export type SelectListProps<TMeta extends MetaShape = MetaShape> = {
|
|
191
197
|
/**
|
|
192
198
|
* A render function that receives each item and its index, returning a ReactNode.
|
|
193
199
|
*
|
|
@@ -196,7 +202,7 @@ export type SelectListProps = {
|
|
|
196
202
|
* is handled automatically by `SelectList`.
|
|
197
203
|
* @example renderItem={(item) => <SelectItem value={item.value}>{item.label}</SelectItem>}
|
|
198
204
|
*/
|
|
199
|
-
renderItem: (item: SelectItemData
|
|
205
|
+
renderItem: (item: SelectItemData<TMeta>, index: number) => ReactNode;
|
|
200
206
|
/**
|
|
201
207
|
* Extra class names to apply to the list element.
|
|
202
208
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,YAAY,EACZ,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI;IAChE,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,qGAAqG;IACrG,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,yHAAyH;AACzH,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI;IACjE,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,eAAe,EAAE,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI;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Data[];
|
|
4
|
-
filter?: null | ((item: SelectItemData
|
|
5
|
-
filteredItems?: SelectItemData[];
|
|
1
|
+
import { MetaShape, SelectItemData, SelectItemGroup } from '../types';
|
|
2
|
+
type UseSelectItemsParams<TMeta extends MetaShape = MetaShape> = {
|
|
3
|
+
items: SelectItemData<TMeta>[];
|
|
4
|
+
filter?: null | ((item: SelectItemData<TMeta>, query: string) => boolean);
|
|
5
|
+
filteredItems?: SelectItemData<TMeta>[];
|
|
6
6
|
searchValue?: string;
|
|
7
7
|
defaultSearchValue?: string;
|
|
8
8
|
onSearchValueChange?: (value: string) => void;
|
|
9
9
|
};
|
|
10
|
-
type UseSelectItemsReturn = {
|
|
10
|
+
type UseSelectItemsReturn<TMeta extends MetaShape = MetaShape> = {
|
|
11
11
|
isGrouped: boolean;
|
|
12
|
-
groupedItems: SelectItemGroup[] | null;
|
|
13
|
-
filteredItemsForRoot: SelectItemData[] | SelectItemGroup[];
|
|
12
|
+
groupedItems: SelectItemGroup<TMeta>[] | null;
|
|
13
|
+
filteredItemsForRoot: SelectItemData<TMeta>[] | SelectItemGroup<TMeta>[];
|
|
14
14
|
resolvedSearchValue: string;
|
|
15
|
+
searchMounted: boolean;
|
|
15
16
|
registerSearch: () => () => void;
|
|
16
17
|
handleSearchValueChange: (val: string) => void;
|
|
17
18
|
};
|
|
@@ -25,6 +26,6 @@ type UseSelectItemsReturn = {
|
|
|
25
26
|
* the internal filter entirely.
|
|
26
27
|
* - Supports controlled and uncontrolled `searchValue` via `useControllableState`.
|
|
27
28
|
*/
|
|
28
|
-
export declare function useSelectItems({ items, filter, filteredItems: filteredItemsProp, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange: onSearchValueChangeProp, }: UseSelectItemsParams): UseSelectItemsReturn
|
|
29
|
+
export declare function useSelectItems<TMeta extends MetaShape = MetaShape>({ items, filter, filteredItems: filteredItemsProp, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange: onSearchValueChangeProp, }: UseSelectItemsParams<TMeta>): UseSelectItemsReturn<TMeta>;
|
|
29
30
|
export {};
|
|
30
31
|
//# sourceMappingURL=useSelectItems.d.ts.map
|