@altinn/altinn-components 0.56.3 → 0.56.5

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 (33) hide show
  1. package/dist/MenuHamburger-YjDC-ncP.js +24 -0
  2. package/dist/SearchField-BZo3_1VH.js +639 -0
  3. package/dist/assets/Avatar.css +1 -1
  4. package/dist/assets/SearchField.css +1 -1
  5. package/dist/components/Account/AccountMenu.js +1 -1
  6. package/dist/components/Avatar/Avatar.js +35 -34
  7. package/dist/components/ContextMenu/ContextMenu.js +1 -1
  8. package/dist/components/Dialog/DialogActions.js +1 -1
  9. package/dist/components/Forms/SearchField.js +1 -1
  10. package/dist/components/Forms/index.js +1 -1
  11. package/dist/components/GlobalHeader/AccountSelector.js +1 -1
  12. package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
  13. package/dist/components/GlobalMenu/GlobalMenuButton.js +50 -68
  14. package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
  15. package/dist/components/GlobalMenu_old/GlobalMenu.js +1 -1
  16. package/dist/components/Header/LocaleSwitcher.js +1 -1
  17. package/dist/components/Layout/Layout.js +1 -1
  18. package/dist/components/Menu/Menu.js +1 -1
  19. package/dist/components/Menu/MenuItems.js +1 -1
  20. package/dist/components/Menu/MenuListSearch.js +1 -1
  21. package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
  22. package/dist/components/Menu/index.js +1 -1
  23. package/dist/components/Toolbar/SelectDateFilter.js +1 -1
  24. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
  25. package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
  26. package/dist/components/Toolbar/ToolbarMenu.js +1 -1
  27. package/dist/components/Toolbar/ToolbarSearch.js +1 -1
  28. package/dist/components/Toolbar/example.data.js +77 -36
  29. package/dist/components/index.js +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +2 -4
  32. package/package.json +1 -1
  33. package/dist/SearchField-CN2mo8ck.js +0 -636
@@ -1,636 +0,0 @@
1
- "use client";
2
- import { jsx as r, jsxs as L } from "react/jsx-runtime";
3
- import { c as fe } from "./index-p1eeF8LQ.js";
4
- import { useRef as W, useState as X, useMemo as R, useEffect as j, Fragment as me, useLayoutEffect as oe, useId as ne } from "react";
5
- import { Icon as he } from "./components/Icon/Icon.js";
6
- import { Button as ye } from "./components/Button/Button.js";
7
- import "./components/RootProvider/RootProvider.js";
8
- import { useMenu as se } from "./hooks/useMenu.js";
9
- import { Input as xe } from "./components/Forms/Input.js";
10
- import { FieldBase as ge } from "./components/Forms/FieldBase.js";
11
- import "./components/Snackbar/useSnackbar.js";
12
- import { S as Ie } from "./MagnifyingGlass-bwVhw07z.js";
13
- import { S as ve } from "./XMark-tKk6aExO.js";
14
- import { MenuItem as ie } from "./components/Menu/MenuItem.js";
15
- import { MenuList as Z } from "./components/Menu/MenuList.js";
16
- import { MenuListItem as ae } from "./components/Menu/MenuListItem.js";
17
- import { MenuListGroup as ce } from "./components/Menu/MenuListGroup.js";
18
- import { MenuListDivider as le } from "./components/Menu/MenuListDivider.js";
19
- import { MenuListHeading as ue } from "./components/Menu/MenuListHeading.js";
20
- import { a as be } from "./useMenuVirtualization-Cs426RCN.js";
21
- import { useMenuSearch as we } from "./components/Menu/useMenuSearch.js";
22
- import './assets/SearchField.css';const _e = "_search_18jfe_1", ke = "_searchInput_18jfe_8", te = {
23
- search: _e,
24
- searchInput: ke
25
- }, de = ({
26
- style: v,
27
- index: b,
28
- name: M,
29
- value: _,
30
- placeholder: p = "Search",
31
- clearButtonAltText: a = "Clear search",
32
- onChange: A,
33
- onClear: D,
34
- onNavigate: m,
35
- combobox: l = !1,
36
- listId: g,
37
- "aria-activedescendant": C,
38
- onKeyDown: h,
39
- onInput: s,
40
- onFocus: w,
41
- ...k
42
- }) => /* @__PURE__ */ r("li", { className: te.search, style: v, "data-index": b, "data-menu-search": "true", children: l ? (
43
- // biome-ignore lint/a11y/useFocusableInteractive: <explanation>
44
- // biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
45
- // biome-ignore lint/a11y/useSemanticElements: <explanation>
46
- /* @__PURE__ */ r("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns": g, children: /* @__PURE__ */ r(
47
- re,
48
- {
49
- size: "xs",
50
- className: te.searchInput,
51
- name: M,
52
- value: _,
53
- placeholder: p,
54
- onChange: A,
55
- onClear: D,
56
- clearButtonAltText: a,
57
- autoComplete: "off",
58
- autoCorrect: "off",
59
- autoCapitalize: "off",
60
- "aria-autocomplete": "list",
61
- "aria-controls": g,
62
- "aria-activedescendant": C,
63
- autoFocus: !0,
64
- onKeyDown: (c) => {
65
- (c.key === "ArrowUp" || c.key === "ArrowDown") && (c.preventDefault(), m?.()), h?.(c);
66
- },
67
- onInput: s,
68
- onFocus: w,
69
- ...k
70
- }
71
- ) })
72
- ) : /* @__PURE__ */ r(
73
- re,
74
- {
75
- size: "xs",
76
- className: te.searchInput,
77
- name: M,
78
- value: _,
79
- placeholder: p,
80
- onChange: A,
81
- onClear: D,
82
- clearButtonAltText: a,
83
- autoComplete: "off",
84
- autoCorrect: "off",
85
- autoCapitalize: "off",
86
- autoFocus: !0,
87
- onKeyDown: (c) => {
88
- (c.key === "ArrowUp" || c.key === "ArrowDown") && (c.preventDefault(), m?.()), h?.(c);
89
- },
90
- onInput: s,
91
- onFocus: w,
92
- ...k
93
- }
94
- ) }), pe = ({
95
- level: v = 0,
96
- maxLevels: b,
97
- expanded: M,
98
- a11yMode: _ = "menu",
99
- open: p,
100
- scrollToTopOnOpen: a = !1,
101
- autoActivateFirstItem: A = !0,
102
- autoFocusList: D = !0,
103
- announceNoResults: m = !1,
104
- search: l,
105
- items: g,
106
- groups: C = {},
107
- size: h,
108
- id: s,
109
- color: w,
110
- variant: k,
111
- scrollRefStyles: c = {},
112
- keyboardEvents: y = !1,
113
- onSelect: S = () => {
114
- },
115
- onActiveItemIdChange: I
116
- }) => {
117
- if (b && v >= b)
118
- return null;
119
- const f = _ === "combobox", u = f && s ? `${s}-listbox` : s, B = W(p), z = W(p), [Y, n] = X(!1), P = R(
120
- () => g.map((o, x) => ({
121
- ...o,
122
- id: o.id || `${s}-item-${x}`
123
- })),
124
- [g, s]
125
- ), G = W(null), { menu: T, setActiveIndex: H, activeItem: $ } = se({
126
- items: P,
127
- groups: C,
128
- groupByKey: "groupId",
129
- keyboardEvents: y,
130
- autoActivateFirstItem: A,
131
- onSelect: S,
132
- ref: G
133
- });
134
- return j(() => {
135
- I?.($?.id);
136
- }, [$?.id, I]), j(() => {
137
- if (!a) {
138
- B.current = p;
139
- return;
140
- }
141
- const o = B.current;
142
- B.current = p, p && !o && G.current?.scrollTo({ top: 0 });
143
- }, [p, a]), j(() => {
144
- const o = z.current;
145
- z.current = p, !(!y || l || !D) && p && !o && requestAnimationFrame(() => G.current?.focus?.({ preventScroll: !0 }));
146
- }, [p, y, l]), j(() => {
147
- if (f && m) {
148
- H(0), n(!0);
149
- return;
150
- }
151
- }, [m, f, H]), /* @__PURE__ */ L(
152
- Z,
153
- {
154
- variant: k,
155
- expanded: M,
156
- ref: G,
157
- style: c,
158
- id: u,
159
- role: f ? "listbox" : void 0,
160
- tabIndex: y ? -1 : void 0,
161
- children: [
162
- l && /* @__PURE__ */ r(
163
- de,
164
- {
165
- ...l,
166
- combobox: f,
167
- listId: u,
168
- "aria-activedescendant": f && Y ? $?.id : void 0,
169
- onNavigate: f ? () => n(!0) : void 0,
170
- onChange: (o) => {
171
- n(!1), l.onChange?.(o);
172
- },
173
- onFocus: (o) => {
174
- n(!1), l.onFocus?.(o);
175
- },
176
- onInput: (o) => {
177
- n(!1), l.onInput?.(o);
178
- },
179
- onKeyDown: (o) => {
180
- const x = o.key === "ArrowUp" || o.key === "ArrowDown", O = o.key.length === 1 || o.key === "Backspace" || o.key === "Delete";
181
- f && !x && O && n(!1), l.onKeyDown?.(o);
182
- }
183
- }
184
- ),
185
- T.map((o, x) => {
186
- const O = o?.props || {}, { title: F, hidden: q = !1, divider: J = !0 } = O;
187
- return /* @__PURE__ */ L(me, { children: [
188
- (v > 0 || x) && J ? /* @__PURE__ */ r(le, {}) : "",
189
- /* @__PURE__ */ r(ce, { hidden: q, children: /* @__PURE__ */ L(Z, { role: "presentation", children: [
190
- F && /* @__PURE__ */ r(ue, { title: F, level: v }),
191
- o?.items.filter((U) => !U.props?.hidden).map((U, e) => {
192
- const { active: t, onMouseEnter: d } = U, { groupId: N, ...i } = U.props || {}, { expanded: K } = i, V = Array.isArray(i?.items) && i.items.length > 0, Q = i.role === "checkbox" || i.role === "radio", ee = f && !Q ? "option" : i.role;
193
- return /* @__PURE__ */ L(
194
- ae,
195
- {
196
- expanded: K,
197
- onMouseLeave: () => H(-1),
198
- role: f || Q ? "presentation" : void 0,
199
- children: [
200
- /* @__PURE__ */ r(
201
- ie,
202
- {
203
- ...i,
204
- size: i?.size || O?.size || h,
205
- color: i?.color || O?.color || w,
206
- variant: i?.variant || O?.variant || k,
207
- active: t,
208
- role: ee,
209
- selected: f && !Q ? t : i.selected,
210
- tabIndex: i?.disabled || y ? -1 : i.tabIndex ?? 0,
211
- onMouseEnter: d,
212
- "aria-haspopup": V ? "menu" : void 0,
213
- "aria-expanded": V ? K : void 0,
214
- "aria-controls": V ? i.id + "-menu" : void 0
215
- }
216
- ),
217
- K && i?.items && /* @__PURE__ */ r(
218
- pe,
219
- {
220
- id: i.id + "-menu",
221
- expanded: K,
222
- level: v + 1,
223
- maxLevels: b,
224
- items: i?.items,
225
- groups: C,
226
- size: h,
227
- color: w,
228
- variant: k
229
- }
230
- )
231
- ]
232
- },
233
- e
234
- );
235
- })
236
- ] }) }, x)
237
- ] }, x);
238
- })
239
- ]
240
- }
241
- );
242
- }, Ae = (v) => {
243
- const b = W(null), M = W(null), [_, p] = X(0), {
244
- search: a,
245
- items: A,
246
- groups: D = {},
247
- size: m,
248
- color: l,
249
- variant: g,
250
- keyboardEvents: C,
251
- scrollRefStyles: h = {},
252
- id: s,
253
- expanded: w,
254
- a11yMode: k = "menu",
255
- open: c,
256
- scrollToTopOnOpen: y = !1,
257
- autoActivateFirstItem: S = !0,
258
- announceNoResults: I = !1,
259
- onActiveItemIdChange: f
260
- } = v, u = k === "combobox", B = u && s ? `${s}-listbox` : s, z = W(c), [Y, n] = X(!1), P = R(
261
- () => A.map((e, t) => ({
262
- ...e,
263
- id: e.id || `${s}-item-${t}`
264
- })),
265
- [A, s]
266
- ), { menu: G, activeItem: T, setActiveIndex: H, activeIndex: $ } = se({
267
- items: P,
268
- groups: D,
269
- groupByKey: "groupId",
270
- keyboardEvents: C,
271
- autoActivateFirstItem: S,
272
- ref: b
273
- }), { flatMenu: o, virtualizer: x, scrollMaxHeight: O } = be({
274
- menu: G,
275
- scrollRef: b
276
- });
277
- oe(() => {
278
- const e = M.current;
279
- if (!e) return;
280
- const t = Math.round(e.offsetTop);
281
- p((d) => d === t ? d : t);
282
- });
283
- const F = R(() => {
284
- const e = T?.id;
285
- if (e)
286
- return o.findIndex((d) => d.type === "item" && d.itemProps?.id === e);
287
- if ($ < 0) return -1;
288
- let t = -1;
289
- for (let d = 0; d < o.length; d++)
290
- if (o[d]?.type === "item" && (t += 1, t === $))
291
- return d;
292
- return -1;
293
- }, [T?.id, $, o]), q = W(null);
294
- oe(() => {
295
- const e = q?.current, t = typeof e == "number" ? F <= e : !1;
296
- q.current = F;
297
- const d = t ? F : F + 2;
298
- if (!t) {
299
- const V = x.getOffsetForIndex(d, "auto");
300
- if (!V) return;
301
- const [Q, ee] = V;
302
- if (ee === "auto") return;
303
- x.scrollToOffset(Q + _ + 10, { align: "start" });
304
- return;
305
- }
306
- if (F <= 3) {
307
- x.scrollToOffset(0);
308
- return;
309
- }
310
- const N = x.getOffsetForIndex(F - 1, "auto");
311
- if (!N) return;
312
- const [i, K] = N;
313
- K !== "auto" && x.scrollToOffset(i + _ + 10, { align: "start" });
314
- }, [F, _, x, q]);
315
- const J = R(() => {
316
- const e = /* @__PURE__ */ new Map();
317
- let t = 0;
318
- return o.forEach((d, N) => {
319
- d.type === "item" && (t += 1, e.set(N, t));
320
- }), { positions: e, total: t };
321
- }, [o]);
322
- j(() => {
323
- f?.(T?.id);
324
- }, [T?.id, f]), j(() => {
325
- if (u && I) {
326
- H(0), n(!0);
327
- return;
328
- }
329
- }, [I, u, H]), j(() => {
330
- if (!y) {
331
- z.current = c;
332
- return;
333
- }
334
- const e = z.current;
335
- z.current = c, c && !e && b.current?.scrollTo({ top: 0 });
336
- }, [c, y]);
337
- const U = {
338
- position: "relative",
339
- maxHeight: h?.maxHeight || O,
340
- margin: "-0.5rem",
341
- padding: "0.5rem",
342
- minWidth: h?.minWidth ?? "20rem",
343
- overflowY: "auto",
344
- ...h
345
- };
346
- return /* @__PURE__ */ L(
347
- Z,
348
- {
349
- ref: b,
350
- style: U,
351
- variant: g,
352
- color: l,
353
- expanded: w,
354
- id: B,
355
- role: u ? "listbox" : void 0,
356
- children: [
357
- a && /* @__PURE__ */ r(
358
- de,
359
- {
360
- ...a,
361
- combobox: u,
362
- listId: B,
363
- "aria-activedescendant": u && Y ? T?.id : void 0,
364
- onNavigate: u ? () => n(!0) : void 0,
365
- onChange: (e) => {
366
- n(!1), a.onChange?.(e);
367
- },
368
- onFocus: (e) => {
369
- n(!1), a.onFocus?.(e);
370
- },
371
- onInput: (e) => {
372
- n(!1), a.onInput?.(e);
373
- },
374
- onKeyDown: (e) => {
375
- const t = e.key === "ArrowUp" || e.key === "ArrowDown", d = e.key.length === 1 || e.key === "Backspace" || e.key === "Delete";
376
- u && !t && d && n(!1), a.onKeyDown?.(e);
377
- }
378
- }
379
- ),
380
- /* @__PURE__ */ r(
381
- ce,
382
- {
383
- ref: M,
384
- style: {
385
- position: "relative",
386
- height: `${x.getTotalSize()}px`,
387
- width: "100%"
388
- },
389
- children: /* @__PURE__ */ r(Z, { style: { width: "100%", minWidth: "100%" }, children: x.getVirtualItems().map((e) => {
390
- const t = o[e.index];
391
- if (!t) return null;
392
- const d = {
393
- position: "absolute",
394
- top: 0,
395
- left: 0,
396
- width: "100%",
397
- transform: `translateY(${e.start}px)`
398
- }, N = {
399
- style: d,
400
- index: e.index,
401
- "data-index": e.index,
402
- ref: x.measureElement
403
- };
404
- switch (t.type) {
405
- case "divider":
406
- return /* @__PURE__ */ r(
407
- le,
408
- {
409
- ...N,
410
- style: { ...d, padding: "0.25rem 0" }
411
- },
412
- e.key
413
- );
414
- case "header":
415
- return /* @__PURE__ */ r(ue, { ...N, title: t.title || "", level: 1 }, e.key);
416
- default: {
417
- const i = t.itemProps?.role === "checkbox" || t.itemProps?.role === "radio", K = u && !i ? "option" : t.itemProps?.role;
418
- return /* @__PURE__ */ r(
419
- ae,
420
- {
421
- ...N,
422
- role: u || i ? "presentation" : "menuitem",
423
- children: /* @__PURE__ */ r(
424
- ie,
425
- {
426
- ...t.itemProps || {},
427
- size: t.itemProps?.size || m,
428
- color: t.itemProps?.color || l,
429
- variant: t.itemProps?.variant || g,
430
- active: t.active,
431
- role: K,
432
- selected: u && !i ? t.active : t.itemProps?.selected,
433
- "aria-posinset": u ? J.positions.get(e.index) : void 0,
434
- "aria-setsize": u ? J.total : void 0,
435
- tabIndex: t.itemProps?.disabled || C ? -1 : 0
436
- }
437
- )
438
- },
439
- e.key
440
- );
441
- }
442
- }
443
- }) })
444
- }
445
- )
446
- ]
447
- }
448
- );
449
- }, Me = ({
450
- searchable: v,
451
- search: b,
452
- items: M = [],
453
- groups: _ = {},
454
- variant: p = "default",
455
- size: a,
456
- level: A = 0,
457
- maxLevels: D = 3,
458
- virtualized: m = !1,
459
- keyboardEvents: l = !1,
460
- scrollRefStyles: g = {},
461
- onActiveItemIdChange: C,
462
- a11yMode: h = "menu",
463
- open: s,
464
- scrollToTopOnOpen: w,
465
- autoFocusList: k,
466
- id: c
467
- }) => {
468
- const y = we({ ...b, items: M, groups: _ }), S = v ? y.search : b, I = v && y.hasQuery && y.resultCount === 0, f = v ? y.items : M, u = v ? { ..._, ...y.groups } : _, B = h !== "combobox";
469
- return m ? /* @__PURE__ */ r(
470
- Ae,
471
- {
472
- id: c,
473
- search: S,
474
- announceNoResults: I,
475
- items: f,
476
- groups: u,
477
- variant: p,
478
- size: a,
479
- level: A,
480
- maxLevels: D,
481
- keyboardEvents: l,
482
- scrollRefStyles: g,
483
- onActiveItemIdChange: C,
484
- a11yMode: h,
485
- open: s,
486
- scrollToTopOnOpen: w,
487
- autoActivateFirstItem: B,
488
- autoFocusList: k
489
- }
490
- ) : /* @__PURE__ */ r(
491
- pe,
492
- {
493
- id: c,
494
- search: S,
495
- announceNoResults: I,
496
- items: f,
497
- groups: u,
498
- variant: p,
499
- size: a,
500
- level: A,
501
- maxLevels: D,
502
- keyboardEvents: l,
503
- scrollRefStyles: g,
504
- onActiveItemIdChange: C,
505
- a11yMode: h,
506
- open: s,
507
- scrollToTopOnOpen: w,
508
- autoActivateFirstItem: B,
509
- autoFocusList: k
510
- }
511
- );
512
- }, Ce = "_field_lyp0p_1", De = "_container_lyp0p_5", Be = "_icon_lyp0p_11", Fe = "_input_lyp0p_35", Se = "_clear_lyp0p_54", Ne = "_clearButton_lyp0p_66", ze = "_autocomplete_lyp0p_95", E = {
513
- field: Ce,
514
- container: De,
515
- icon: Be,
516
- input: Fe,
517
- clear: Se,
518
- clearButton: Ne,
519
- autocomplete: ze
520
- }, re = ({
521
- className: v,
522
- collapsible: b,
523
- size: M,
524
- color: _ = "neutral",
525
- label: p,
526
- value: a,
527
- onClear: A,
528
- clearButtonAltText: D = "Clear search",
529
- menu: m,
530
- minLength: l,
531
- ...g
532
- }) => {
533
- const C = ne(), [h, s] = X(!1), w = g.id || `search-field-${C}`, k = `${w}-listbox`, [c, y] = X(void 0), S = "searchfield-clear-button-" + ne(), I = R(() => !a || typeof l == "number" && typeof a == "string" && a.length < l ? !1 : h, [h, l, a]), f = R(() => (m?.items ?? []).map((n) => ({
534
- ...n,
535
- onClick: () => {
536
- n.onClick?.(), s(!1);
537
- }
538
- })), [m]), u = (n) => {
539
- if (n.key === "Enter" && I) {
540
- m?.items?.[0]?.onClick?.(), s(!1);
541
- return;
542
- }
543
- if (n.key === "Escape" && I) {
544
- n.preventDefault(), n.stopPropagation(), s(!1), m?.onClose(), document.getElementById(w)?.focus();
545
- return;
546
- }
547
- g.onKeyDown?.(n), s(!0);
548
- }, B = () => {
549
- s(!0);
550
- }, z = (n) => {
551
- if (!h) return;
552
- const P = n.relatedTarget;
553
- P && n.currentTarget.contains(P) || s(!1);
554
- }, Y = (n) => {
555
- n.relatedTarget?.id === S && y(void 0), g.onBlur?.(n);
556
- };
557
- return /* @__PURE__ */ L(
558
- ge,
559
- {
560
- size: M,
561
- color: _,
562
- label: p,
563
- className: fe(E.field, v),
564
- onBlurCapture: z,
565
- children: [
566
- /* @__PURE__ */ L("div", { className: E.container, children: [
567
- /* @__PURE__ */ r(
568
- xe,
569
- {
570
- ...g,
571
- id: w,
572
- type: "search",
573
- value: a,
574
- className: E.input,
575
- "data-collapsible": b,
576
- autoCapitalize: "off",
577
- autoComplete: "off",
578
- minLength: l,
579
- onKeyDown: u,
580
- onBlur: Y,
581
- ...m && {
582
- role: "combobox",
583
- "aria-autocomplete": "list",
584
- "aria-expanded": !!I,
585
- "aria-haspopup": "listbox",
586
- "aria-controls": k,
587
- "aria-activedescendant": I ? c : void 0,
588
- onFocus: B
589
- }
590
- }
591
- ),
592
- /* @__PURE__ */ r(he, { svgElement: Ie, className: E.icon }),
593
- A && !!a && /* @__PURE__ */ r("span", { className: E.clear, children: /* @__PURE__ */ r(
594
- ye,
595
- {
596
- id: S,
597
- "data-testid": "clear-button",
598
- size: "xs",
599
- rounded: !0,
600
- icon: !0,
601
- variant: "tinted",
602
- className: E.clearButton,
603
- onClick: () => {
604
- A?.(), document.getElementById(w)?.focus();
605
- },
606
- "aria-label": D,
607
- "data-action": "clear-input",
608
- children: /* @__PURE__ */ r(ve, {})
609
- }
610
- ) })
611
- ] }),
612
- m && I && /* @__PURE__ */ r("div", { className: E.autocomplete, "data-color": "company", "aria-hidden": !I, children: /* @__PURE__ */ r(
613
- Me,
614
- {
615
- ...m,
616
- id: k,
617
- items: f,
618
- groups: m?.groups,
619
- keyboardEvents: !0,
620
- a11yMode: "combobox",
621
- open: I,
622
- autoFocusList: !1,
623
- onActiveItemIdChange: y
624
- }
625
- ) })
626
- ]
627
- }
628
- );
629
- };
630
- export {
631
- Me as M,
632
- re as S,
633
- Ae as V,
634
- pe as a,
635
- de as b
636
- };