@ledgerhq/lumen-ui-react 0.1.23 → 0.1.24

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.
Files changed (41) hide show
  1. package/dist/index.js +154 -149
  2. package/dist/lib/Components/DotIcon/DotIcon.d.ts +32 -0
  3. package/dist/lib/Components/DotIcon/DotIcon.d.ts.map +1 -0
  4. package/dist/lib/Components/DotIcon/DotIcon.js +97 -0
  5. package/dist/lib/Components/DotIcon/index.d.ts +3 -0
  6. package/dist/lib/Components/DotIcon/index.d.ts.map +1 -0
  7. package/dist/lib/Components/DotIcon/types.d.ts +42 -0
  8. package/dist/lib/Components/DotIcon/types.d.ts.map +1 -0
  9. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
  10. package/dist/lib/Components/DotSymbol/DotSymbol.js +2 -1
  11. package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
  12. package/dist/lib/Components/MediaImage/MediaImage.js +8 -7
  13. package/dist/lib/Components/MediaImage/types.d.ts +1 -1
  14. package/dist/lib/Components/MediaImage/types.d.ts.map +1 -1
  15. package/dist/lib/Components/Select/Select.d.ts +4 -4
  16. package/dist/lib/Components/Select/Select.d.ts.map +1 -1
  17. package/dist/lib/Components/Select/Select.js +135 -126
  18. package/dist/lib/Components/Select/SelectContext.d.ts +1 -0
  19. package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -1
  20. package/dist/lib/Components/Select/index.d.ts +1 -1
  21. package/dist/lib/Components/Select/index.d.ts.map +1 -1
  22. package/dist/lib/Components/Select/types.d.ts +20 -14
  23. package/dist/lib/Components/Select/types.d.ts.map +1 -1
  24. package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +10 -9
  25. package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -1
  26. package/dist/lib/Components/Select/useSelectItems/useSelectItems.js +16 -15
  27. package/dist/lib/Components/Select/utils/groupItems.d.ts +8 -2
  28. package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -1
  29. package/dist/lib/Components/Select/utils/groupItems.js +13 -11
  30. package/dist/lib/Components/Select/utils/index.d.ts +1 -1
  31. package/dist/lib/Components/Select/utils/index.d.ts.map +1 -1
  32. package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
  33. package/dist/lib/Components/Tag/Tag.js +15 -14
  34. package/dist/lib/Components/Tag/types.d.ts +1 -1
  35. package/dist/lib/Components/Tag/types.d.ts.map +1 -1
  36. package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts +1 -1
  37. package/dist/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  38. package/dist/lib/Components/index.d.ts +1 -0
  39. package/dist/lib/Components/index.d.ts.map +1 -1
  40. package/dist/package.json +2 -2
  41. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAGjB,iBAAS,MAAM,CAAC,EACd,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,MAAM,EACN,aAAa,EACb,WAAW,EAAE,eAAe,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,WAAW,2CAsDb;AA6DD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,4CAmBxE,CAAC;AAgCF,QAAA,MAAM,aAAa,GAAI,kFASpB,kBAAkB,4CAoBpB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,0CAKjB,eAAe,4CA+BjB,CAAC;AAqBF,QAAA,MAAM,UAAU,GAAI,wCAKjB,eAAe,4CAYjB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,8BAItB,oBAAoB,4CAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,4CAOxE,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,wCAKxB,sBAAsB,4CASxB,CAAC;AAEF,QAAA,MAAM,qBAAqB,GAAI,wCAK5B,0BAA0B,4CAa5B,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,0GAQnB,iBAAiB,4CAyBnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,kDAMvB,qBAAqB,4CAcvB,CAAC;AAEF,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,GACjB,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,SAAS,EAET,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAIjB,iBAAS,MAAM,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,EAAE,EACnD,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,MAAM,EACN,aAAa,EACb,WAAW,EAAE,eAAe,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,2CA0D9B;AA6DD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,4CAmBxE,CAAC;AAgCF,QAAA,MAAM,aAAa,GAAI,+EASpB,kBAAkB,4CAoBpB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,KAAK,SAAS,SAAS,GAAG,SAAS,EAAE,0CAKtD,eAAe,CAAC,KAAK,CAAC,4CA+BxB,CAAC;AAqBF,QAAA,MAAM,UAAU,GAAI,wCAKjB,eAAe,4CAYjB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,8BAItB,oBAAoB,4CAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,4CAOxE,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,wCAKxB,sBAAsB,4CASxB,CAAC;AAEF,QAAA,MAAM,qBAAqB,GAAI,wCAK5B,0BAA0B,4CAa5B,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,0GAQnB,iBAAiB,4CAyBnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,kDAMvB,qBAAqB,4CAcvB,CAAC;AAEF,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,GACjB,CAAC"}
@@ -1,29 +1,30 @@
1
- import { jsx as t, jsxs as d } from "react/jsx-runtime";
2
- import { useDisabledContext as q, cn as l } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as z } from "class-variance-authority";
4
- import { useLayoutEffect as D } from "react";
5
- import { SelectProvider as G, useSelectContext as m } from "./SelectContext.js";
6
- import { useControllableState as k } from "../../../utils/useControllableState/useControllableState.js";
7
- import { useSelectItems as E } from "./useSelectItems/useSelectItems.js";
8
- import { SearchInput as F } from "../SearchInput/SearchInput.js";
9
- import { Check as W } from "../../Symbols/Icons/Check.js";
10
- import { Divider as A } from "../Divider/Divider.js";
11
- import { ChevronDown as B } from "../../Symbols/Icons/ChevronDown.js";
12
- import { ComboboxRoot as H } from "../../../node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js";
13
- import { ComboboxTrigger as b } from "../../../node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js";
14
- import { ComboboxPortal as J } from "../../../node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js";
15
- import { ComboboxPositioner as K } from "../../../node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js";
16
- import { ComboboxPopup as M } from "../../../node_modules/@base-ui/react/esm/combobox/popup/ComboboxPopup.js";
17
- import { ComboboxInput as O } from "../../../node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js";
18
- import { ComboboxList as Q } from "../../../node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js";
19
- import { ComboboxGroup as U } from "../../../node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js";
20
- import { ComboboxCollection as X } from "../../../node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js";
21
- import { ComboboxItem as Y } from "../../../node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js";
22
- import { ComboboxItemIndicator as Z } from "../../../node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js";
23
- import { ComboboxEmpty as _ } from "../../../node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js";
24
- import { ComboboxValue as f } from "../../../node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js";
25
- import { ComboboxGroupLabel as $ } from "../../../node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js";
26
- function qe({
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: u,
36
- onSearchValueChange: h,
37
- open: x,
38
- defaultOpen: g,
39
- onOpenChange: S,
40
- name: y,
41
- required: v,
42
- children: C
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 N = q({
45
+ const I = E({
45
46
  consumerName: "Select",
46
47
  mergeWith: { disabled: r }
47
- }), [p, w] = k(
48
+ }), [f, V] = M(
48
49
  {
49
50
  prop: o,
50
51
  defaultProp: a ?? null,
51
- onChange: (j) => {
52
- e?.(j);
52
+ onChange: (d) => {
53
+ e?.(d);
53
54
  }
54
55
  }
55
56
  ), {
56
- isGrouped: I,
57
- groupedItems: V,
58
- filteredItemsForRoot: L,
59
- resolvedSearchValue: R,
60
- registerSearch: T,
61
- handleSearchValueChange: P
62
- } = E({
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: u,
68
- onSearchValueChange: h
69
+ defaultSearchValue: p,
70
+ onSearchValueChange: g
69
71
  });
70
72
  return /* @__PURE__ */ t(
71
- H,
73
+ K,
72
74
  {
73
75
  "data-slot": "select",
74
76
  filter: null,
75
- items: V ?? s,
76
- filteredItems: L,
77
- inputValue: R,
78
- onInputValueChange: P,
79
- value: p,
80
- onValueChange: w,
81
- open: x,
82
- defaultOpen: g,
83
- onOpenChange: S,
84
- name: y,
85
- required: v,
86
- disabled: N,
87
- children: /* @__PURE__ */ t(G, { value: { selectedValue: p, registerSearch: T, isGrouped: I }, children: C })
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 ee = l(
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
- ), te = l(
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
- ), oe = ({
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 } = m({
120
+ const { selectedValue: n } = u({
112
121
  consumerName: "SelectInputTrigger",
113
122
  contextRequired: !0
114
123
  }), i = n != null && n !== "";
115
- return /* @__PURE__ */ d(
116
- b,
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(ee, a),
130
+ className: l(ae, a),
122
131
  ...s,
123
132
  children: [
124
- r && /* @__PURE__ */ t("label", { className: l(te, e), children: r }),
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(f, {})
142
+ children: /* @__PURE__ */ t(x, {})
134
143
  }
135
144
  ),
136
145
  /* @__PURE__ */ t(
137
- B,
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
- }, ze = ({ render: o, disabled: a, ...e }) => {
147
- const { selectedValue: r } = m({
155
+ }, ke = ({ render: o, disabled: a, ...e }) => {
156
+ const { selectedValue: r } = u({
148
157
  consumerName: "SelectTrigger",
149
158
  contextRequired: !0
150
- }), s = /* @__PURE__ */ t(f, {});
159
+ }), s = /* @__PURE__ */ t(x, {});
151
160
  return o ? /* @__PURE__ */ t(
152
- b,
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(oe, { ...e, disabled: a });
160
- }, ae = z(
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
- ), De = ({
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
- autoFocusSearch: i = !1,
204
+ initialFocus: i = !0,
196
205
  ...c
197
- }) => /* @__PURE__ */ t(J, { "data-slot": "select-portal", children: /* @__PURE__ */ t(
198
- K,
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
- M,
215
+ U,
207
216
  {
208
217
  ref: o,
209
218
  "data-slot": "select-content",
210
- initialFocus: i ? void 0 : !1,
211
- className: l(ae({ side: r }), a),
219
+ initialFocus: i,
220
+ className: l(se({ side: r }), a),
212
221
  ...c,
213
222
  children: e
214
223
  }
215
224
  )
216
225
  }
217
- ) }), Ge = ({
226
+ ) }), Me = ({
218
227
  ref: o,
219
228
  className: a,
220
229
  renderItem: e,
221
230
  ...r
222
231
  }) => {
223
- const { isGrouped: s } = m({
232
+ const { isGrouped: s } = u({
224
233
  consumerName: "SelectList",
225
234
  contextRequired: !0
226
235
  });
227
236
  return /* @__PURE__ */ t(
228
- Q,
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__ */ d(
238
- U,
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(se, {}),
244
- n.label && /* @__PURE__ */ t(re, { children: n.label }),
245
- /* @__PURE__ */ t(X, { children: e })
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
- }, re = ({ ref: o, className: a, ...e }) => /* @__PURE__ */ t(
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
- ), le = l(
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
- ), ke = ({
277
+ ), We = ({
269
278
  ref: o,
270
279
  className: a,
271
280
  children: e,
272
281
  ...r
273
- }) => /* @__PURE__ */ d(
274
- Y,
282
+ }) => /* @__PURE__ */ m(
283
+ $,
275
284
  {
276
285
  ref: o,
277
286
  "data-slot": "select-item",
278
- className: l(le, a),
287
+ className: l(ie, a),
279
288
  ...r,
280
289
  children: [
281
290
  e,
282
- /* @__PURE__ */ t(Z, { className: "ml-auto flex shrink-0 items-center justify-center", children: /* @__PURE__ */ t(W, { size: 24, className: "shrink-0 text-active" }) })
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
- ), se = ({
294
+ ), ce = ({
286
295
  ref: o,
287
296
  className: a,
288
297
  ...e
289
- }) => /* @__PURE__ */ t(A, { ref: o, className: l("mx-8 my-4 w-auto", a), ...e }), Ee = ({ ref: o, className: a, ...e }) => /* @__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
- ), Fe = ({
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
- ), We = ({
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
- ), Ae = ({
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 } = m({
347
+ const { registerSearch: c } = u({
339
348
  consumerName: "SelectSearch",
340
349
  contextRequired: !0
341
350
  });
342
- return D(() => c(), [c]), /* @__PURE__ */ t(
343
- O,
351
+ return k(() => c(), [c]), /* @__PURE__ */ t(
352
+ X,
344
353
  {
345
- render: (u) => /* @__PURE__ */ t(
346
- F,
354
+ render: (p) => /* @__PURE__ */ t(
355
+ A,
347
356
  {
348
- ...u,
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
- }, Be = ({
370
+ }, Ke = ({
362
371
  ref: o,
363
372
  className: a,
364
373
  title: e,
365
374
  description: r,
366
375
  ...s
367
- }) => /* @__PURE__ */ d(
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
- qe as Select,
386
- De as SelectContent,
387
- Be as SelectEmptyState,
388
- ke as SelectItem,
389
- Fe as SelectItemContent,
390
- We as SelectItemDescription,
391
- Ee as SelectItemText,
392
- Ge as SelectList,
393
- Ae as SelectSearch,
394
- se as SelectSeparator,
395
- ze as SelectTrigger
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
  };
@@ -2,6 +2,7 @@ type SelectContextValue = {
2
2
  selectedValue: string | null;
3
3
  registerSearch: () => () => void;
4
4
  isGrouped: boolean;
5
+ searchMounted: boolean;
5
6
  };
6
7
  export declare const SelectProvider: import('react').FC<{
7
8
  children: import('react').ReactNode;
@@ -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;CACpB,CAAC;AAEF,eAAO,MAAO,cAAc;;;IAAE,gBAAgB;;;qFACG,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 SelectItemData<Meta = Record<string, unknown>> = {
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?: 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, query: string) => boolean);
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
- * When true, the search input receives focus automatically when the dropdown opens.
186
- * @default false
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
- autoFocusSearch?: boolean;
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, index: number) => ReactNode;
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,EAAE,qBAAqB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,MAAM,cAAc,CAAC,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IAC3D,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,qGAAqG;IACrG,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,CAAC,EAAE,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