@react-spectrum/listbox 3.12.3 → 3.12.4

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 (2) hide show
  1. package/dist/import.mjs +749 -0
  2. package/package.json +3 -3
@@ -0,0 +1,749 @@
1
+ import "./main.css";
2
+ import {Item as $ee97ea796309b076$re_export$Item, Section as $ee97ea796309b076$re_export$Section} from "@react-stately/collections";
3
+ import $j8tbs$react, {useMemo as $j8tbs$useMemo, useContext as $j8tbs$useContext, useRef as $j8tbs$useRef, Fragment as $j8tbs$Fragment} from "react";
4
+ import {useDOMRef as $j8tbs$useDOMRef, useStyleProps as $j8tbs$useStyleProps, classNames as $j8tbs$classNames, ClearSlots as $j8tbs$ClearSlots, SlotProvider as $j8tbs$SlotProvider} from "@react-spectrum/utils";
5
+ import {useListState as $j8tbs$useListState} from "@react-stately/list";
6
+ import {useListBox as $j8tbs$useListBox, useOption as $j8tbs$useOption, useListBoxSection as $j8tbs$useListBoxSection} from "@react-aria/listbox";
7
+ import {FocusScope as $j8tbs$FocusScope, FocusRing as $j8tbs$FocusRing} from "@react-aria/focus";
8
+ import {ListLayout as $j8tbs$ListLayout} from "@react-stately/layout";
9
+ import {useLayoutEffect as $j8tbs$useLayoutEffect, mergeProps as $j8tbs$mergeProps} from "@react-aria/utils";
10
+ import {ProgressCircle as $j8tbs$ProgressCircle} from "@react-spectrum/progress";
11
+ import {useCollator as $j8tbs$useCollator, useLocalizedStringFormatter as $j8tbs$useLocalizedStringFormatter, useLocale as $j8tbs$useLocale} from "@react-aria/i18n";
12
+ import {useProvider as $j8tbs$useProvider} from "@react-spectrum/provider";
13
+ import {VirtualizerItem as $j8tbs$VirtualizerItem, Virtualizer as $j8tbs$Virtualizer, useVirtualizerItem as $j8tbs$useVirtualizerItem, layoutInfoToStyle as $j8tbs$layoutInfoToStyle} from "@react-aria/virtualizer";
14
+ import $j8tbs$spectrumiconsuiCheckmarkMedium from "@spectrum-icons/ui/CheckmarkMedium";
15
+ import {Grid as $j8tbs$Grid} from "@react-spectrum/layout";
16
+ import {useHover as $j8tbs$useHover, isFocusVisible as $j8tbs$isFocusVisible} from "@react-aria/interactions";
17
+ import {Text as $j8tbs$Text} from "@react-spectrum/text";
18
+
19
+
20
+ function $parcel$interopDefault(a) {
21
+ return a && a.__esModule ? a.default : a;
22
+ }
23
+
24
+ function $parcel$export(e, n, v, s) {
25
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
26
+ }
27
+ /*
28
+ * Copyright 2020 Adobe. All rights reserved.
29
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
30
+ * you may not use this file except in compliance with the License. You may obtain a copy
31
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
32
+ *
33
+ * Unless required by applicable law or agreed to in writing, software distributed under
34
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
35
+ * OF ANY KIND, either express or implied. See the License for the specific language
36
+ * governing permissions and limitations under the License.
37
+ */ /// <reference types="css-module-types" />
38
+ /*
39
+ * Copyright 2020 Adobe. All rights reserved.
40
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
41
+ * you may not use this file except in compliance with the License. You may obtain a copy
42
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
43
+ *
44
+ * Unless required by applicable law or agreed to in writing, software distributed under
45
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
46
+ * OF ANY KIND, either express or implied. See the License for the specific language
47
+ * governing permissions and limitations under the License.
48
+ */ /*
49
+ * Copyright 2020 Adobe. All rights reserved.
50
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
51
+ * you may not use this file except in compliance with the License. You may obtain a copy
52
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
53
+ *
54
+ * Unless required by applicable law or agreed to in writing, software distributed under
55
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
56
+ * OF ANY KIND, either express or implied. See the License for the specific language
57
+ * governing permissions and limitations under the License.
58
+ */
59
+
60
+
61
+ var $0815878b47e2c7ae$exports = {};
62
+ var $067dbd0c037ad155$exports = {};
63
+ $067dbd0c037ad155$exports = {
64
+ "loading": `\u{62C}\u{627}\u{631}\u{64D} \u{627}\u{644}\u{62A}\u{62D}\u{645}\u{64A}\u{644}...`,
65
+ "loadingMore": `\u{62C}\u{627}\u{631}\u{64D} \u{62A}\u{62D}\u{645}\u{64A}\u{644} \u{627}\u{644}\u{645}\u{632}\u{64A}\u{62F}...`
66
+ };
67
+
68
+
69
+ var $6ee4da2747de1e02$exports = {};
70
+ $6ee4da2747de1e02$exports = {
71
+ "loading": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435}...`,
72
+ "loadingMore": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{43E}\u{449}\u{435}...`
73
+ };
74
+
75
+
76
+ var $b58a7d965b7aa1b3$exports = {};
77
+ $b58a7d965b7aa1b3$exports = {
78
+ "loading": `Na\u{10D}\xedt\xe1n\xed...`,
79
+ "loadingMore": `Na\u{10D}\xedt\xe1n\xed dal\u{161}\xedch...`
80
+ };
81
+
82
+
83
+ var $ecaca51f024191b0$exports = {};
84
+ $ecaca51f024191b0$exports = {
85
+ "loading": `Indl\xe6ser ...`,
86
+ "loadingMore": `Indl\xe6ser flere ...`
87
+ };
88
+
89
+
90
+ var $6e434aa373f128b4$exports = {};
91
+ $6e434aa373f128b4$exports = {
92
+ "loading": `Laden...`,
93
+ "loadingMore": `Mehr laden ...`
94
+ };
95
+
96
+
97
+ var $ddbe45fb199df913$exports = {};
98
+ $ddbe45fb199df913$exports = {
99
+ "loading": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7}...`,
100
+ "loadingMore": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7} \u{3C0}\u{3B5}\u{3C1}\u{3B9}\u{3C3}\u{3C3}\u{3CC}\u{3C4}\u{3B5}\u{3C1}\u{3C9}\u{3BD}...`
101
+ };
102
+
103
+
104
+ var $2083b83b84266bb4$exports = {};
105
+ $2083b83b84266bb4$exports = {
106
+ "loading": `Loading\u{2026}`,
107
+ "loadingMore": `Loading more\u{2026}`
108
+ };
109
+
110
+
111
+ var $a41434a97f5222d7$exports = {};
112
+ $a41434a97f5222d7$exports = {
113
+ "loading": `Cargando\u{2026}`,
114
+ "loadingMore": `Cargando m\xe1s\u{2026}`
115
+ };
116
+
117
+
118
+ var $0a1b42c97638052f$exports = {};
119
+ $0a1b42c97638052f$exports = {
120
+ "loading": `Laadimine...`,
121
+ "loadingMore": `Laadi rohkem...`
122
+ };
123
+
124
+
125
+ var $177331a39d162ddc$exports = {};
126
+ $177331a39d162ddc$exports = {
127
+ "loading": `Ladataan\u{2026}`,
128
+ "loadingMore": `Ladataan lis\xe4\xe4\u{2026}`
129
+ };
130
+
131
+
132
+ var $273b1d5ecf07fe52$exports = {};
133
+ $273b1d5ecf07fe52$exports = {
134
+ "loading": `Chargement...`,
135
+ "loadingMore": `Chargement suppl\xe9mentaire...`
136
+ };
137
+
138
+
139
+ var $459441d19cfa90a8$exports = {};
140
+ $459441d19cfa90a8$exports = {
141
+ "loading": `\u{5D8}\u{5D5}\u{5E2}\u{5DF}...`,
142
+ "loadingMore": `\u{5D8}\u{5D5}\u{5E2}\u{5DF} \u{5E2}\u{5D5}\u{5D3}...`
143
+ };
144
+
145
+
146
+ var $c30474fbd65b2878$exports = {};
147
+ $c30474fbd65b2878$exports = {
148
+ "loading": `U\u{10D}itavam...`,
149
+ "loadingMore": `U\u{10D}itavam jo\u{161}...`
150
+ };
151
+
152
+
153
+ var $fd19cc1d41a750e5$exports = {};
154
+ $fd19cc1d41a750e5$exports = {
155
+ "loading": `Bet\xf6lt\xe9s folyamatban\u{2026}`,
156
+ "loadingMore": `Tov\xe1bbiak bet\xf6lt\xe9se folyamatban\u{2026}`
157
+ };
158
+
159
+
160
+ var $158d0aece262406d$exports = {};
161
+ $158d0aece262406d$exports = {
162
+ "loading": `Caricamento...`,
163
+ "loadingMore": `Caricamento altri...`
164
+ };
165
+
166
+
167
+ var $bc830316669a23f8$exports = {};
168
+ $bc830316669a23f8$exports = {
169
+ "loading": `\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
170
+ "loadingMore": `\u{3055}\u{3089}\u{306B}\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`
171
+ };
172
+
173
+
174
+ var $7fa23663d4de476d$exports = {};
175
+ $7fa23663d4de476d$exports = {
176
+ "loading": `\u{B85C}\u{B4DC} \u{C911}`,
177
+ "loadingMore": `\u{CD94}\u{AC00} \u{B85C}\u{B4DC} \u{C911}`
178
+ };
179
+
180
+
181
+ var $827e42814bc8f58e$exports = {};
182
+ $827e42814bc8f58e$exports = {
183
+ "loading": `\u{12E}keliama...`,
184
+ "loadingMore": `\u{12E}keliama daugiau...`
185
+ };
186
+
187
+
188
+ var $6ca653959481d2db$exports = {};
189
+ $6ca653959481d2db$exports = {
190
+ "loading": `Notiek iel\u{101}de...`,
191
+ "loadingMore": `Tiek iel\u{101}d\u{113}ts v\u{113}l...`
192
+ };
193
+
194
+
195
+ var $9efb74877777657a$exports = {};
196
+ $9efb74877777657a$exports = {
197
+ "loading": `Laster inn ...`,
198
+ "loadingMore": `Laster inn flere ...`
199
+ };
200
+
201
+
202
+ var $d085d780952864a7$exports = {};
203
+ $d085d780952864a7$exports = {
204
+ "loading": `Laden...`,
205
+ "loadingMore": `Meer laden...`
206
+ };
207
+
208
+
209
+ var $c207a8811c9791e9$exports = {};
210
+ $c207a8811c9791e9$exports = {
211
+ "loading": `\u{141}adowanie...`,
212
+ "loadingMore": `Wczytywanie wi\u{119}kszej liczby...`
213
+ };
214
+
215
+
216
+ var $eda3511d3b2e0e51$exports = {};
217
+ $eda3511d3b2e0e51$exports = {
218
+ "loading": `Carregando...`,
219
+ "loadingMore": `Carregando mais...`
220
+ };
221
+
222
+
223
+ var $a9c1da319e5254cb$exports = {};
224
+ $a9c1da319e5254cb$exports = {
225
+ "loading": `A carregar...`,
226
+ "loadingMore": `A carregar mais...`
227
+ };
228
+
229
+
230
+ var $bc5c688ddc9e69fb$exports = {};
231
+ $bc5c688ddc9e69fb$exports = {
232
+ "loading": `Se \xeencarc\u{103}...`,
233
+ "loadingMore": `Se \xeencarc\u{103} mai multe...`
234
+ };
235
+
236
+
237
+ var $84ec40785c299370$exports = {};
238
+ $84ec40785c299370$exports = {
239
+ "loading": `\u{417}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`,
240
+ "loadingMore": `\u{414}\u{43E}\u{43F}\u{43E}\u{43B}\u{43D}\u{438}\u{442}\u{435}\u{43B}\u{44C}\u{43D}\u{430}\u{44F} \u{437}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`
241
+ };
242
+
243
+
244
+ var $510ebbcbf8f3c784$exports = {};
245
+ $510ebbcbf8f3c784$exports = {
246
+ "loading": `Na\u{10D}\xedtava sa...`,
247
+ "loadingMore": `Na\u{10D}\xedtava sa viac...`
248
+ };
249
+
250
+
251
+ var $49f018934e6f92c2$exports = {};
252
+ $49f018934e6f92c2$exports = {
253
+ "loading": `Nalaganje...`,
254
+ "loadingMore": `Nalaganje ve\u{10D} vsebine...`
255
+ };
256
+
257
+
258
+ var $7513a1b075b503d5$exports = {};
259
+ $7513a1b075b503d5$exports = {
260
+ "loading": `U\u{10D}itavam...`,
261
+ "loadingMore": `U\u{10D}itavam jo\u{161}...`
262
+ };
263
+
264
+
265
+ var $02c92e5e0c81f9a9$exports = {};
266
+ $02c92e5e0c81f9a9$exports = {
267
+ "loading": `L\xe4ser in...`,
268
+ "loadingMore": `L\xe4ser in mer...`
269
+ };
270
+
271
+
272
+ var $8165adf786eb9d46$exports = {};
273
+ $8165adf786eb9d46$exports = {
274
+ "loading": `Y\xfckleniyor...`,
275
+ "loadingMore": `Daha fazla y\xfckleniyor...`
276
+ };
277
+
278
+
279
+ var $228238165c1367ae$exports = {};
280
+ $228238165c1367ae$exports = {
281
+ "loading": `\u{417}\u{430}\u{432}\u{430}\u{43D}\u{442}\u{430}\u{436}\u{435}\u{43D}\u{43D}\u{44F}\u{2026}`,
282
+ "loadingMore": `\u{417}\u{430}\u{432}\u{430}\u{43D}\u{442}\u{430}\u{436}\u{435}\u{43D}\u{43D}\u{44F} \u{456}\u{43D}\u{448}\u{438}\u{445} \u{43E}\u{431}\u{2019}\u{454}\u{43A}\u{442}\u{456}\u{432}...`
283
+ };
284
+
285
+
286
+ var $cc82b5cf91ddc409$exports = {};
287
+ $cc82b5cf91ddc409$exports = {
288
+ "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
289
+ "loadingMore": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{66F4}\u{591A}...`
290
+ };
291
+
292
+
293
+ var $c1545fe26f1d3e20$exports = {};
294
+ $c1545fe26f1d3e20$exports = {
295
+ "loading": `\u{6B63}\u{5728}\u{8F09}\u{5165}`,
296
+ "loadingMore": `\u{6B63}\u{5728}\u{8F09}\u{5165}\u{66F4}\u{591A}\u{2026}`
297
+ };
298
+
299
+
300
+ $0815878b47e2c7ae$exports = {
301
+ "ar-AE": $067dbd0c037ad155$exports,
302
+ "bg-BG": $6ee4da2747de1e02$exports,
303
+ "cs-CZ": $b58a7d965b7aa1b3$exports,
304
+ "da-DK": $ecaca51f024191b0$exports,
305
+ "de-DE": $6e434aa373f128b4$exports,
306
+ "el-GR": $ddbe45fb199df913$exports,
307
+ "en-US": $2083b83b84266bb4$exports,
308
+ "es-ES": $a41434a97f5222d7$exports,
309
+ "et-EE": $0a1b42c97638052f$exports,
310
+ "fi-FI": $177331a39d162ddc$exports,
311
+ "fr-FR": $273b1d5ecf07fe52$exports,
312
+ "he-IL": $459441d19cfa90a8$exports,
313
+ "hr-HR": $c30474fbd65b2878$exports,
314
+ "hu-HU": $fd19cc1d41a750e5$exports,
315
+ "it-IT": $158d0aece262406d$exports,
316
+ "ja-JP": $bc830316669a23f8$exports,
317
+ "ko-KR": $7fa23663d4de476d$exports,
318
+ "lt-LT": $827e42814bc8f58e$exports,
319
+ "lv-LV": $6ca653959481d2db$exports,
320
+ "nb-NO": $9efb74877777657a$exports,
321
+ "nl-NL": $d085d780952864a7$exports,
322
+ "pl-PL": $c207a8811c9791e9$exports,
323
+ "pt-BR": $eda3511d3b2e0e51$exports,
324
+ "pt-PT": $a9c1da319e5254cb$exports,
325
+ "ro-RO": $bc5c688ddc9e69fb$exports,
326
+ "ru-RU": $84ec40785c299370$exports,
327
+ "sk-SK": $510ebbcbf8f3c784$exports,
328
+ "sl-SI": $49f018934e6f92c2$exports,
329
+ "sr-SP": $7513a1b075b503d5$exports,
330
+ "sv-SE": $02c92e5e0c81f9a9$exports,
331
+ "tr-TR": $8165adf786eb9d46$exports,
332
+ "uk-UA": $228238165c1367ae$exports,
333
+ "zh-CN": $cc82b5cf91ddc409$exports,
334
+ "zh-TW": $c1545fe26f1d3e20$exports
335
+ };
336
+
337
+
338
+ /*
339
+ * Copyright 2020 Adobe. All rights reserved.
340
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
341
+ * you may not use this file except in compliance with the License. You may obtain a copy
342
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
343
+ *
344
+ * Unless required by applicable law or agreed to in writing, software distributed under
345
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
346
+ * OF ANY KIND, either express or implied. See the License for the specific language
347
+ * governing permissions and limitations under the License.
348
+ */
349
+ const $0c6f792811e33483$export$7ff8f37d2d81a48d = (0, $j8tbs$react).createContext(null);
350
+
351
+
352
+ /*
353
+ * Copyright 2020 Adobe. All rights reserved.
354
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
355
+ * you may not use this file except in compliance with the License. You may obtain a copy
356
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
357
+ *
358
+ * Unless required by applicable law or agreed to in writing, software distributed under
359
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
360
+ * OF ANY KIND, either express or implied. See the License for the specific language
361
+ * governing permissions and limitations under the License.
362
+ */
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+ var $286d1cb34bb7dc84$exports = {};
371
+
372
+ $parcel$export($286d1cb34bb7dc84$exports, "checkmark", () => $286d1cb34bb7dc84$export$292abbf31ed842a, (v) => $286d1cb34bb7dc84$export$292abbf31ed842a = v);
373
+ $parcel$export($286d1cb34bb7dc84$exports, "description", () => $286d1cb34bb7dc84$export$6d59db4903f20f7d, (v) => $286d1cb34bb7dc84$export$6d59db4903f20f7d = v);
374
+ $parcel$export($286d1cb34bb7dc84$exports, "end", () => $286d1cb34bb7dc84$export$bd5df0f255a350f8, (v) => $286d1cb34bb7dc84$export$bd5df0f255a350f8 = v);
375
+ $parcel$export($286d1cb34bb7dc84$exports, "focus-ring", () => $286d1cb34bb7dc84$export$f39a09f249340e2a, (v) => $286d1cb34bb7dc84$export$f39a09f249340e2a = v);
376
+ $parcel$export($286d1cb34bb7dc84$exports, "i18nFontFamily", () => $286d1cb34bb7dc84$export$8c4ee2c50c22c514, (v) => $286d1cb34bb7dc84$export$8c4ee2c50c22c514 = v);
377
+ $parcel$export($286d1cb34bb7dc84$exports, "icon", () => $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27, (v) => $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27 = v);
378
+ $parcel$export($286d1cb34bb7dc84$exports, "is-active", () => $286d1cb34bb7dc84$export$20fd0f7cd4e6112f, (v) => $286d1cb34bb7dc84$export$20fd0f7cd4e6112f = v);
379
+ $parcel$export($286d1cb34bb7dc84$exports, "is-disabled", () => $286d1cb34bb7dc84$export$d35bc1e505d1ebbf, (v) => $286d1cb34bb7dc84$export$d35bc1e505d1ebbf = v);
380
+ $parcel$export($286d1cb34bb7dc84$exports, "is-focused", () => $286d1cb34bb7dc84$export$e7dc768d35940237, (v) => $286d1cb34bb7dc84$export$e7dc768d35940237 = v);
381
+ $parcel$export($286d1cb34bb7dc84$exports, "is-highlighted", () => $286d1cb34bb7dc84$export$451c613d0772eb99, (v) => $286d1cb34bb7dc84$export$451c613d0772eb99 = v);
382
+ $parcel$export($286d1cb34bb7dc84$exports, "is-hovered", () => $286d1cb34bb7dc84$export$b8813cd5d7824ce7, (v) => $286d1cb34bb7dc84$export$b8813cd5d7824ce7 = v);
383
+ $parcel$export($286d1cb34bb7dc84$exports, "is-open", () => $286d1cb34bb7dc84$export$a9781837241c946d, (v) => $286d1cb34bb7dc84$export$a9781837241c946d = v);
384
+ $parcel$export($286d1cb34bb7dc84$exports, "is-selectable", () => $286d1cb34bb7dc84$export$fbd22ba224473193, (v) => $286d1cb34bb7dc84$export$fbd22ba224473193 = v);
385
+ $parcel$export($286d1cb34bb7dc84$exports, "is-selected", () => $286d1cb34bb7dc84$export$1e0fb04f31d3c22a, (v) => $286d1cb34bb7dc84$export$1e0fb04f31d3c22a = v);
386
+ $parcel$export($286d1cb34bb7dc84$exports, "keyboard", () => $286d1cb34bb7dc84$export$cfdd767f5a513509, (v) => $286d1cb34bb7dc84$export$cfdd767f5a513509 = v);
387
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing-ring", () => $286d1cb34bb7dc84$export$4109102f950813a6, (v) => $286d1cb34bb7dc84$export$4109102f950813a6 = v);
388
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing", () => $286d1cb34bb7dc84$export$24c7f46a6e3605dd, (v) => $286d1cb34bb7dc84$export$24c7f46a6e3605dd = v);
389
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing--quiet", () => $286d1cb34bb7dc84$export$2927016961429360, (v) => $286d1cb34bb7dc84$export$2927016961429360 = v);
390
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Icon", () => $286d1cb34bb7dc84$export$d374b04f30360026, (v) => $286d1cb34bb7dc84$export$d374b04f30360026 = v);
391
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu", () => $286d1cb34bb7dc84$export$fae6af6decd50ac5, (v) => $286d1cb34bb7dc84$export$fae6af6decd50ac5 = v);
392
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-checkmark", () => $286d1cb34bb7dc84$export$8e15a726e4f7e62d, (v) => $286d1cb34bb7dc84$export$8e15a726e4f7e62d = v);
393
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-description", () => $286d1cb34bb7dc84$export$36f1275051e39ead, (v) => $286d1cb34bb7dc84$export$36f1275051e39ead = v);
394
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-divider", () => $286d1cb34bb7dc84$export$e892026f534efed8, (v) => $286d1cb34bb7dc84$export$e892026f534efed8 = v);
395
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-end", () => $286d1cb34bb7dc84$export$926a1bb74ed65667, (v) => $286d1cb34bb7dc84$export$926a1bb74ed65667 = v);
396
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-icon", () => $286d1cb34bb7dc84$export$cbbae63ef9e44c7a, (v) => $286d1cb34bb7dc84$export$cbbae63ef9e44c7a = v);
397
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-item", () => $286d1cb34bb7dc84$export$45faad328e6c532b, (v) => $286d1cb34bb7dc84$export$45faad328e6c532b = v);
398
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemGrid", () => $286d1cb34bb7dc84$export$ee5f52784f57f9c8, (v) => $286d1cb34bb7dc84$export$ee5f52784f57f9c8 = v);
399
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemIcon", () => $286d1cb34bb7dc84$export$f431001e1bb54633, (v) => $286d1cb34bb7dc84$export$f431001e1bb54633 = v);
400
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemLabel", () => $286d1cb34bb7dc84$export$1aa6419c5c650567, (v) => $286d1cb34bb7dc84$export$1aa6419c5c650567 = v);
401
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemLabel--wrapping", () => $286d1cb34bb7dc84$export$465092164a8e1d98, (v) => $286d1cb34bb7dc84$export$465092164a8e1d98 = v);
402
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-keyboard", () => $286d1cb34bb7dc84$export$4f9817a7dff6ba0f, (v) => $286d1cb34bb7dc84$export$4f9817a7dff6ba0f = v);
403
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-popover", () => $286d1cb34bb7dc84$export$d959f30786125b, (v) => $286d1cb34bb7dc84$export$d959f30786125b = v);
404
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--isFirst", () => $286d1cb34bb7dc84$export$dae331c15950f1e, (v) => $286d1cb34bb7dc84$export$dae331c15950f1e = v);
405
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--isLast", () => $286d1cb34bb7dc84$export$9778864c5b622fbc, (v) => $286d1cb34bb7dc84$export$9778864c5b622fbc = v);
406
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--noHeading", () => $286d1cb34bb7dc84$export$8b61ec49b96ad17e, (v) => $286d1cb34bb7dc84$export$8b61ec49b96ad17e = v);
407
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-sectionHeading", () => $286d1cb34bb7dc84$export$c20ea4b35020fbdd, (v) => $286d1cb34bb7dc84$export$c20ea4b35020fbdd = v);
408
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-subdialog", () => $286d1cb34bb7dc84$export$d7e47bfca92b5744, (v) => $286d1cb34bb7dc84$export$d7e47bfca92b5744 = v);
409
+ $parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-wrapper", () => $286d1cb34bb7dc84$export$76d36e55740ad742, (v) => $286d1cb34bb7dc84$export$76d36e55740ad742 = v);
410
+ $parcel$export($286d1cb34bb7dc84$exports, "text", () => $286d1cb34bb7dc84$export$6f093cfa640b7166, (v) => $286d1cb34bb7dc84$export$6f093cfa640b7166 = v);
411
+ var $286d1cb34bb7dc84$export$292abbf31ed842a;
412
+ var $286d1cb34bb7dc84$export$6d59db4903f20f7d;
413
+ var $286d1cb34bb7dc84$export$bd5df0f255a350f8;
414
+ var $286d1cb34bb7dc84$export$f39a09f249340e2a;
415
+ var $286d1cb34bb7dc84$export$8c4ee2c50c22c514;
416
+ var $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27;
417
+ var $286d1cb34bb7dc84$export$20fd0f7cd4e6112f;
418
+ var $286d1cb34bb7dc84$export$d35bc1e505d1ebbf;
419
+ var $286d1cb34bb7dc84$export$e7dc768d35940237;
420
+ var $286d1cb34bb7dc84$export$451c613d0772eb99;
421
+ var $286d1cb34bb7dc84$export$b8813cd5d7824ce7;
422
+ var $286d1cb34bb7dc84$export$a9781837241c946d;
423
+ var $286d1cb34bb7dc84$export$fbd22ba224473193;
424
+ var $286d1cb34bb7dc84$export$1e0fb04f31d3c22a;
425
+ var $286d1cb34bb7dc84$export$cfdd767f5a513509;
426
+ var $286d1cb34bb7dc84$export$4109102f950813a6;
427
+ var $286d1cb34bb7dc84$export$24c7f46a6e3605dd;
428
+ var $286d1cb34bb7dc84$export$2927016961429360;
429
+ var $286d1cb34bb7dc84$export$d374b04f30360026;
430
+ var $286d1cb34bb7dc84$export$fae6af6decd50ac5;
431
+ var $286d1cb34bb7dc84$export$8e15a726e4f7e62d;
432
+ var $286d1cb34bb7dc84$export$36f1275051e39ead;
433
+ var $286d1cb34bb7dc84$export$e892026f534efed8;
434
+ var $286d1cb34bb7dc84$export$926a1bb74ed65667;
435
+ var $286d1cb34bb7dc84$export$cbbae63ef9e44c7a;
436
+ var $286d1cb34bb7dc84$export$45faad328e6c532b;
437
+ var $286d1cb34bb7dc84$export$ee5f52784f57f9c8;
438
+ var $286d1cb34bb7dc84$export$f431001e1bb54633;
439
+ var $286d1cb34bb7dc84$export$1aa6419c5c650567;
440
+ var $286d1cb34bb7dc84$export$465092164a8e1d98;
441
+ var $286d1cb34bb7dc84$export$4f9817a7dff6ba0f;
442
+ var $286d1cb34bb7dc84$export$d959f30786125b;
443
+ var $286d1cb34bb7dc84$export$dae331c15950f1e;
444
+ var $286d1cb34bb7dc84$export$9778864c5b622fbc;
445
+ var $286d1cb34bb7dc84$export$8b61ec49b96ad17e;
446
+ var $286d1cb34bb7dc84$export$c20ea4b35020fbdd;
447
+ var $286d1cb34bb7dc84$export$d7e47bfca92b5744;
448
+ var $286d1cb34bb7dc84$export$76d36e55740ad742;
449
+ var $286d1cb34bb7dc84$export$6f093cfa640b7166;
450
+ $286d1cb34bb7dc84$export$292abbf31ed842a = `Q7FggG_checkmark`;
451
+ $286d1cb34bb7dc84$export$6d59db4903f20f7d = `Q7FggG_description`;
452
+ $286d1cb34bb7dc84$export$bd5df0f255a350f8 = `Q7FggG_end`;
453
+ $286d1cb34bb7dc84$export$f39a09f249340e2a = `Q7FggG_focus-ring`;
454
+ $286d1cb34bb7dc84$export$8c4ee2c50c22c514 = `Q7FggG_i18nFontFamily`;
455
+ $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27 = `Q7FggG_icon`;
456
+ $286d1cb34bb7dc84$export$20fd0f7cd4e6112f = `Q7FggG_is-active`;
457
+ $286d1cb34bb7dc84$export$d35bc1e505d1ebbf = `Q7FggG_is-disabled`;
458
+ $286d1cb34bb7dc84$export$e7dc768d35940237 = `Q7FggG_is-focused`;
459
+ $286d1cb34bb7dc84$export$451c613d0772eb99 = `Q7FggG_is-highlighted`;
460
+ $286d1cb34bb7dc84$export$b8813cd5d7824ce7 = `Q7FggG_is-hovered`;
461
+ $286d1cb34bb7dc84$export$a9781837241c946d = `Q7FggG_is-open`;
462
+ $286d1cb34bb7dc84$export$fbd22ba224473193 = `Q7FggG_is-selectable`;
463
+ $286d1cb34bb7dc84$export$1e0fb04f31d3c22a = `Q7FggG_is-selected`;
464
+ $286d1cb34bb7dc84$export$cfdd767f5a513509 = `Q7FggG_keyboard`;
465
+ $286d1cb34bb7dc84$export$4109102f950813a6 = `Q7FggG_spectrum-FocusRing-ring`;
466
+ $286d1cb34bb7dc84$export$24c7f46a6e3605dd = `Q7FggG_spectrum-FocusRing ${$286d1cb34bb7dc84$export$4109102f950813a6}`;
467
+ $286d1cb34bb7dc84$export$2927016961429360 = `Q7FggG_spectrum-FocusRing--quiet`;
468
+ $286d1cb34bb7dc84$export$d374b04f30360026 = `Q7FggG_spectrum-Icon`;
469
+ $286d1cb34bb7dc84$export$fae6af6decd50ac5 = `Q7FggG_spectrum-Menu`;
470
+ $286d1cb34bb7dc84$export$8e15a726e4f7e62d = `Q7FggG_spectrum-Menu-checkmark`;
471
+ $286d1cb34bb7dc84$export$36f1275051e39ead = `Q7FggG_spectrum-Menu-description`;
472
+ $286d1cb34bb7dc84$export$e892026f534efed8 = `Q7FggG_spectrum-Menu-divider`;
473
+ $286d1cb34bb7dc84$export$926a1bb74ed65667 = `Q7FggG_spectrum-Menu-end`;
474
+ $286d1cb34bb7dc84$export$cbbae63ef9e44c7a = `Q7FggG_spectrum-Menu-icon`;
475
+ $286d1cb34bb7dc84$export$45faad328e6c532b = `Q7FggG_spectrum-Menu-item`;
476
+ $286d1cb34bb7dc84$export$ee5f52784f57f9c8 = `Q7FggG_spectrum-Menu-itemGrid`;
477
+ $286d1cb34bb7dc84$export$f431001e1bb54633 = `Q7FggG_spectrum-Menu-itemIcon`;
478
+ $286d1cb34bb7dc84$export$1aa6419c5c650567 = `Q7FggG_spectrum-Menu-itemLabel`;
479
+ $286d1cb34bb7dc84$export$465092164a8e1d98 = `Q7FggG_spectrum-Menu-itemLabel--wrapping`;
480
+ $286d1cb34bb7dc84$export$4f9817a7dff6ba0f = `Q7FggG_spectrum-Menu-keyboard`;
481
+ $286d1cb34bb7dc84$export$d959f30786125b = `Q7FggG_spectrum-Menu-popover`;
482
+ $286d1cb34bb7dc84$export$dae331c15950f1e = `Q7FggG_spectrum-Menu-section--isFirst`;
483
+ $286d1cb34bb7dc84$export$9778864c5b622fbc = `Q7FggG_spectrum-Menu-section--isLast`;
484
+ $286d1cb34bb7dc84$export$8b61ec49b96ad17e = `Q7FggG_spectrum-Menu-section--noHeading`;
485
+ $286d1cb34bb7dc84$export$c20ea4b35020fbdd = `Q7FggG_spectrum-Menu-sectionHeading`;
486
+ $286d1cb34bb7dc84$export$d7e47bfca92b5744 = `Q7FggG_spectrum-Menu-subdialog`;
487
+ $286d1cb34bb7dc84$export$76d36e55740ad742 = `Q7FggG_spectrum-Menu-wrapper`;
488
+ $286d1cb34bb7dc84$export$6f093cfa640b7166 = `Q7FggG_text`;
489
+
490
+
491
+
492
+
493
+ function $86983ea1fa3f7312$export$feb3b6b552c14a12(props) {
494
+ let { item: item, shouldSelectOnPressUp: shouldSelectOnPressUp, shouldFocusOnHover: shouldFocusOnHover, shouldUseVirtualFocus: shouldUseVirtualFocus } = props;
495
+ let { rendered: rendered, key: key } = item;
496
+ let ElementType = item.props.href ? "a" : "div";
497
+ let state = (0, $j8tbs$useContext)((0, $0c6f792811e33483$export$7ff8f37d2d81a48d));
498
+ let ref = (0, $j8tbs$useRef)();
499
+ let { optionProps: optionProps, labelProps: labelProps, descriptionProps: descriptionProps, isSelected: isSelected, isDisabled: isDisabled, isFocused: isFocused } = (0, $j8tbs$useOption)({
500
+ "aria-label": item["aria-label"],
501
+ key: key,
502
+ shouldSelectOnPressUp: shouldSelectOnPressUp,
503
+ shouldFocusOnHover: shouldFocusOnHover,
504
+ isVirtualized: true,
505
+ shouldUseVirtualFocus: shouldUseVirtualFocus
506
+ }, state, ref);
507
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $j8tbs$useHover)({
508
+ ...props,
509
+ isDisabled: isDisabled
510
+ });
511
+ let contents = typeof rendered === "string" ? /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$Text), null, rendered) : rendered;
512
+ let isKeyboardModality = (0, $j8tbs$isFocusVisible)();
513
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$FocusRing), {
514
+ focusRingClass: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "focus-ring")
515
+ }, /*#__PURE__*/ (0, $j8tbs$react).createElement(ElementType, {
516
+ ...(0, $j8tbs$mergeProps)(optionProps, shouldFocusOnHover ? {} : hoverProps),
517
+ ref: ref,
518
+ className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-item", {
519
+ // If using virtual focus, apply focused styles to the item when the user is interacting with keyboard modality
520
+ "is-focused": shouldUseVirtualFocus && isFocused && isKeyboardModality,
521
+ "is-disabled": isDisabled,
522
+ "is-selected": isSelected,
523
+ "is-selectable": state.selectionManager.selectionMode !== "none",
524
+ // When shouldFocusOnHover is false, apply hover styles both when hovered with the mouse.
525
+ // Otherwise, apply hover styles when focused using non-keyboard modality.
526
+ "is-hovered": isHovered && !shouldFocusOnHover || isFocused && !isKeyboardModality
527
+ })
528
+ }, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$Grid), {
529
+ UNSAFE_className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-itemGrid")
530
+ }, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$ClearSlots), null, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$SlotProvider), {
531
+ slots: {
532
+ text: {
533
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-itemLabel"],
534
+ ...labelProps
535
+ },
536
+ icon: {
537
+ size: "S",
538
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-icon"]
539
+ },
540
+ description: {
541
+ UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-description"],
542
+ ...descriptionProps
543
+ }
544
+ }
545
+ }, contents, isSelected && /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$spectrumiconsuiCheckmarkMedium), {
546
+ slot: "checkmark",
547
+ UNSAFE_className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-checkmark")
548
+ }))))));
549
+ }
550
+
551
+
552
+ /*
553
+ * Copyright 2020 Adobe. All rights reserved.
554
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
555
+ * you may not use this file except in compliance with the License. You may obtain a copy
556
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
557
+ *
558
+ * Unless required by applicable law or agreed to in writing, software distributed under
559
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
560
+ * OF ANY KIND, either express or implied. See the License for the specific language
561
+ * governing permissions and limitations under the License.
562
+ */
563
+
564
+
565
+
566
+
567
+
568
+
569
+ function $92d678ed88836094$export$dca12b0bb56e4fc(props) {
570
+ let { children: children, layoutInfo: layoutInfo, headerLayoutInfo: headerLayoutInfo, virtualizer: virtualizer, item: item } = props;
571
+ let { headingProps: headingProps, groupProps: groupProps } = (0, $j8tbs$useListBoxSection)({
572
+ heading: item.rendered,
573
+ "aria-label": item["aria-label"]
574
+ });
575
+ let headerRef = (0, $j8tbs$useRef)();
576
+ (0, $j8tbs$useVirtualizerItem)({
577
+ layoutInfo: headerLayoutInfo,
578
+ virtualizer: virtualizer,
579
+ ref: headerRef
580
+ });
581
+ let { direction: direction } = (0, $j8tbs$useLocale)();
582
+ let state = (0, $j8tbs$useContext)((0, $0c6f792811e33483$export$7ff8f37d2d81a48d));
583
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$Fragment), null, /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
584
+ role: "presentation",
585
+ ref: headerRef,
586
+ style: (0, $j8tbs$layoutInfoToStyle)(headerLayoutInfo, direction)
587
+ }, item.key !== state.collection.getFirstKey() && /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
588
+ role: "presentation",
589
+ className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-divider")
590
+ }), item.rendered && /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
591
+ ...headingProps,
592
+ className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-sectionHeading")
593
+ }, item.rendered)), /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
594
+ ...groupProps,
595
+ style: (0, $j8tbs$layoutInfoToStyle)(layoutInfo, direction),
596
+ className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu")
597
+ }, children));
598
+ }
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+ function $3247d4a89e6094e9$export$25768ea656ae32a7(state, isLoading) {
610
+ let { scale: scale } = (0, $j8tbs$useProvider)();
611
+ let collator = (0, $j8tbs$useCollator)({
612
+ usage: "search",
613
+ sensitivity: "base"
614
+ });
615
+ let layout = (0, $j8tbs$useMemo)(()=>new (0, $j8tbs$ListLayout)({
616
+ estimatedRowHeight: scale === "large" ? 48 : 32,
617
+ estimatedHeadingHeight: scale === "large" ? 33 : 26,
618
+ padding: scale === "large" ? 5 : 4,
619
+ loaderHeight: 40,
620
+ placeholderHeight: scale === "large" ? 48 : 32,
621
+ collator: collator
622
+ }), [
623
+ collator,
624
+ scale
625
+ ]);
626
+ layout.collection = state.collection;
627
+ layout.disabledKeys = state.disabledKeys;
628
+ (0, $j8tbs$useLayoutEffect)(()=>{
629
+ // Sync loading state into the layout.
630
+ if (layout.isLoading !== isLoading) {
631
+ var _layout_virtualizer;
632
+ layout.isLoading = isLoading;
633
+ (_layout_virtualizer = layout.virtualizer) === null || _layout_virtualizer === void 0 ? void 0 : _layout_virtualizer.relayoutNow();
634
+ }
635
+ }, [
636
+ layout,
637
+ isLoading
638
+ ]);
639
+ return layout;
640
+ }
641
+ /** @private */ function $3247d4a89e6094e9$var$ListBoxBase(props, ref) {
642
+ let { layout: layout, state: state, shouldSelectOnPressUp: shouldSelectOnPressUp, focusOnPointerEnter: focusOnPointerEnter, shouldUseVirtualFocus: shouldUseVirtualFocus, domProps: domProps = {}, transitionDuration: transitionDuration = 0, onScroll: onScroll } = props;
643
+ let { listBoxProps: listBoxProps } = (0, $j8tbs$useListBox)({
644
+ ...props,
645
+ keyboardDelegate: layout,
646
+ isVirtualized: true
647
+ }, state, ref);
648
+ let { styleProps: styleProps } = (0, $j8tbs$useStyleProps)(props);
649
+ let stringFormatter = (0, $j8tbs$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($0815878b47e2c7ae$exports))));
650
+ let renderWrapper = (parent, reusableView, children, renderChildren)=>{
651
+ if (reusableView.viewType === "section") return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $92d678ed88836094$export$dca12b0bb56e4fc), {
652
+ key: reusableView.key,
653
+ item: reusableView.content,
654
+ layoutInfo: reusableView.layoutInfo,
655
+ virtualizer: reusableView.virtualizer,
656
+ headerLayoutInfo: children.find((c)=>c.viewType === "header").layoutInfo
657
+ }, renderChildren(children.filter((c)=>c.viewType === "item")));
658
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$VirtualizerItem), {
659
+ key: reusableView.key,
660
+ layoutInfo: reusableView.layoutInfo,
661
+ virtualizer: reusableView.virtualizer,
662
+ parent: parent === null || parent === void 0 ? void 0 : parent.layoutInfo
663
+ }, reusableView.rendered);
664
+ };
665
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $0c6f792811e33483$export$7ff8f37d2d81a48d).Provider, {
666
+ value: state
667
+ }, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$FocusScope), null, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$Virtualizer), {
668
+ ...styleProps,
669
+ ...(0, $j8tbs$mergeProps)(listBoxProps, domProps),
670
+ ref: ref,
671
+ focusedKey: state.selectionManager.focusedKey,
672
+ autoFocus: !!props.autoFocus,
673
+ sizeToFit: "height",
674
+ scrollDirection: "vertical",
675
+ className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu", styleProps.className),
676
+ layout: layout,
677
+ collection: state.collection,
678
+ renderWrapper: renderWrapper,
679
+ transitionDuration: transitionDuration,
680
+ isLoading: props.isLoading,
681
+ onLoadMore: props.onLoadMore,
682
+ shouldUseVirtualFocus: shouldUseVirtualFocus,
683
+ onScroll: onScroll
684
+ }, (type, item)=>{
685
+ if (type === "item") return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $86983ea1fa3f7312$export$feb3b6b552c14a12), {
686
+ item: item,
687
+ shouldSelectOnPressUp: shouldSelectOnPressUp,
688
+ shouldFocusOnHover: focusOnPointerEnter,
689
+ shouldUseVirtualFocus: shouldUseVirtualFocus
690
+ });
691
+ else if (type === "loader") return(// aria-selected isn't needed here since this option is not selectable.
692
+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
693
+ /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
694
+ role: "option",
695
+ style: {
696
+ display: "flex",
697
+ alignItems: "center",
698
+ justifyContent: "center",
699
+ height: "100%"
700
+ }
701
+ }, /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $j8tbs$ProgressCircle), {
702
+ isIndeterminate: true,
703
+ size: "S",
704
+ "aria-label": state.collection.size > 0 ? stringFormatter.format("loadingMore") : stringFormatter.format("loading"),
705
+ UNSAFE_className: (0, $j8tbs$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Dropdown-progressCircle")
706
+ })));
707
+ else if (type === "placeholder") {
708
+ let emptyState = props.renderEmptyState ? props.renderEmptyState() : null;
709
+ if (emptyState == null) return null;
710
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement("div", {
711
+ // aria-selected isn't needed here since this option is not selectable.
712
+ // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
713
+ role: "option"
714
+ }, emptyState);
715
+ }
716
+ })));
717
+ }
718
+ // forwardRef doesn't support generic parameters, so cast the result to the correct type
719
+ // https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref
720
+ const $3247d4a89e6094e9$export$1afdcf349979fb7e = /*#__PURE__*/ (0, $j8tbs$react).forwardRef($3247d4a89e6094e9$var$ListBoxBase);
721
+
722
+
723
+
724
+
725
+
726
+ function $3136257018b1a220$var$ListBox(props, ref) {
727
+ let state = (0, $j8tbs$useListState)(props);
728
+ let layout = (0, $3247d4a89e6094e9$export$25768ea656ae32a7)(state, props.isLoading);
729
+ let domRef = (0, $j8tbs$useDOMRef)(ref);
730
+ return /*#__PURE__*/ (0, $j8tbs$react).createElement((0, $3247d4a89e6094e9$export$1afdcf349979fb7e), {
731
+ ...props,
732
+ ref: domRef,
733
+ state: state,
734
+ layout: layout
735
+ });
736
+ }
737
+ // forwardRef doesn't support generic parameters, so cast the result to the correct type
738
+ // https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref
739
+ /**
740
+ * A list of options that can allow selection of one or more.
741
+ */ const $3136257018b1a220$export$41f133550aa26f48 = /*#__PURE__*/ (0, $j8tbs$react).forwardRef($3136257018b1a220$var$ListBox);
742
+
743
+
744
+
745
+
746
+
747
+
748
+ export {$3136257018b1a220$export$41f133550aa26f48 as ListBox, $3247d4a89e6094e9$export$25768ea656ae32a7 as useListBoxLayout, $3247d4a89e6094e9$export$1afdcf349979fb7e as ListBoxBase, $ee97ea796309b076$re_export$Item as Item, $ee97ea796309b076$re_export$Section as Section};
749
+ //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/listbox",
3
- "version": "3.12.3",
3
+ "version": "3.12.4",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -41,7 +41,7 @@
41
41
  "@react-aria/interactions": "^3.20.0",
42
42
  "@react-aria/listbox": "^3.11.2",
43
43
  "@react-aria/utils": "^3.22.0",
44
- "@react-aria/virtualizer": "^3.9.6",
44
+ "@react-aria/virtualizer": "^3.9.7",
45
45
  "@react-spectrum/layout": "^3.6.0",
46
46
  "@react-spectrum/progress": "^3.7.2",
47
47
  "@react-spectrum/text": "^3.5.0",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "4a7ee6fc93e00a34d4cdad26d48439f8dabee88b"
69
+ "gitHead": "82ba38ee3fb6f2d50918ea8174a653e6abac63d9"
70
70
  }