@react-spectrum/combobox 3.4.2-nightly.3368 → 3.4.2-nightly.3378
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/main.css +1 -1
- package/dist/main.js +214 -47
- package/dist/main.js.map +1 -1
- package/dist/module.js +215 -48
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +27 -27
- package/src/ComboBox.tsx +5 -5
- package/src/MobileComboBox.tsx +7 -7
- package/src/index.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -72,139 +72,309 @@ $41fae9390a5a37fa$export$7281dc54d38d4bed = "tray-listbox_743018";
|
|
|
72
72
|
|
|
73
73
|
var $ead3369732595b45$exports = {};
|
|
74
74
|
var $152076b938000ae9$exports = {};
|
|
75
|
-
$152076b938000ae9$exports =
|
|
75
|
+
$152076b938000ae9$exports = {
|
|
76
|
+
"clear": `مسح`,
|
|
77
|
+
"invalid": `(غير صالح)`,
|
|
78
|
+
"loading": `جارٍ التحميل...`,
|
|
79
|
+
"noResults": `لا توجد نتائج`
|
|
80
|
+
};
|
|
76
81
|
|
|
77
82
|
|
|
78
83
|
var $dcea84998d0f72ba$exports = {};
|
|
79
|
-
$dcea84998d0f72ba$exports =
|
|
84
|
+
$dcea84998d0f72ba$exports = {
|
|
85
|
+
"clear": `Изчисти`,
|
|
86
|
+
"invalid": `(невалиден)`,
|
|
87
|
+
"loading": `Зареждане...`,
|
|
88
|
+
"noResults": `Няма резултати`
|
|
89
|
+
};
|
|
80
90
|
|
|
81
91
|
|
|
82
92
|
var $e2afe9c05aaca9a6$exports = {};
|
|
83
|
-
$e2afe9c05aaca9a6$exports =
|
|
93
|
+
$e2afe9c05aaca9a6$exports = {
|
|
94
|
+
"clear": `Vymazat`,
|
|
95
|
+
"invalid": `(neplatné)`,
|
|
96
|
+
"loading": `Načítání...`,
|
|
97
|
+
"noResults": `Žádné výsledky`
|
|
98
|
+
};
|
|
84
99
|
|
|
85
100
|
|
|
86
101
|
var $b07b8473336e409f$exports = {};
|
|
87
|
-
$b07b8473336e409f$exports =
|
|
102
|
+
$b07b8473336e409f$exports = {
|
|
103
|
+
"clear": `Ryd`,
|
|
104
|
+
"invalid": `(ugyldig)`,
|
|
105
|
+
"loading": `Indlæser ...`,
|
|
106
|
+
"noResults": `Ingen resultater`
|
|
107
|
+
};
|
|
88
108
|
|
|
89
109
|
|
|
90
110
|
var $565b0d70715530bf$exports = {};
|
|
91
|
-
$565b0d70715530bf$exports =
|
|
111
|
+
$565b0d70715530bf$exports = {
|
|
112
|
+
"clear": `Löschen`,
|
|
113
|
+
"invalid": `(ungültig)`,
|
|
114
|
+
"loading": `Wird geladen...`,
|
|
115
|
+
"noResults": `Keine Ergebnisse`
|
|
116
|
+
};
|
|
92
117
|
|
|
93
118
|
|
|
94
119
|
var $be8dbfb0257714f3$exports = {};
|
|
95
|
-
$be8dbfb0257714f3$exports =
|
|
120
|
+
$be8dbfb0257714f3$exports = {
|
|
121
|
+
"clear": `Καθαρισμός`,
|
|
122
|
+
"invalid": `(δεν ισχύει)`,
|
|
123
|
+
"loading": `Φόρτωση...`,
|
|
124
|
+
"noResults": `Χωρίς αποτέλεσμα`
|
|
125
|
+
};
|
|
96
126
|
|
|
97
127
|
|
|
98
128
|
var $f3570bd085354923$exports = {};
|
|
99
|
-
$f3570bd085354923$exports =
|
|
129
|
+
$f3570bd085354923$exports = {
|
|
130
|
+
"loading": `Loading...`,
|
|
131
|
+
"noResults": `No results`,
|
|
132
|
+
"clear": `Clear`,
|
|
133
|
+
"invalid": `(invalid)`
|
|
134
|
+
};
|
|
100
135
|
|
|
101
136
|
|
|
102
137
|
var $9f5a226baeced6ef$exports = {};
|
|
103
|
-
$9f5a226baeced6ef$exports =
|
|
138
|
+
$9f5a226baeced6ef$exports = {
|
|
139
|
+
"clear": `Borrar`,
|
|
140
|
+
"invalid": `(no válido)`,
|
|
141
|
+
"loading": `Cargando...`,
|
|
142
|
+
"noResults": `Sin resultados`
|
|
143
|
+
};
|
|
104
144
|
|
|
105
145
|
|
|
106
146
|
var $43e4006a71312956$exports = {};
|
|
107
|
-
$43e4006a71312956$exports =
|
|
147
|
+
$43e4006a71312956$exports = {
|
|
148
|
+
"clear": `Puhasta`,
|
|
149
|
+
"invalid": `(kehtetu)`,
|
|
150
|
+
"loading": `Laadimine...`,
|
|
151
|
+
"noResults": `Tulemusi pole`
|
|
152
|
+
};
|
|
108
153
|
|
|
109
154
|
|
|
110
155
|
var $a55295dc05e185e7$exports = {};
|
|
111
|
-
$a55295dc05e185e7$exports =
|
|
156
|
+
$a55295dc05e185e7$exports = {
|
|
157
|
+
"clear": `Kirkas`,
|
|
158
|
+
"invalid": `(epäkelpo)`,
|
|
159
|
+
"loading": `Ladataan...`,
|
|
160
|
+
"noResults": `Ei tuloksia`
|
|
161
|
+
};
|
|
112
162
|
|
|
113
163
|
|
|
114
164
|
var $b9f7716c5f36c59c$exports = {};
|
|
115
|
-
$b9f7716c5f36c59c$exports =
|
|
165
|
+
$b9f7716c5f36c59c$exports = {
|
|
166
|
+
"clear": `Effacer`,
|
|
167
|
+
"invalid": `(non valide)`,
|
|
168
|
+
"loading": `Chargement en cours...`,
|
|
169
|
+
"noResults": `Aucun résultat`
|
|
170
|
+
};
|
|
116
171
|
|
|
117
172
|
|
|
118
173
|
var $815542f65567f18e$exports = {};
|
|
119
|
-
$815542f65567f18e$exports =
|
|
174
|
+
$815542f65567f18e$exports = {
|
|
175
|
+
"clear": `נקי`,
|
|
176
|
+
"invalid": `(לא חוקי)`,
|
|
177
|
+
"loading": `טוען...`,
|
|
178
|
+
"noResults": `אין תוצאות`
|
|
179
|
+
};
|
|
120
180
|
|
|
121
181
|
|
|
122
182
|
var $c0038bc04716412b$exports = {};
|
|
123
|
-
$c0038bc04716412b$exports =
|
|
183
|
+
$c0038bc04716412b$exports = {
|
|
184
|
+
"clear": `Izbriši`,
|
|
185
|
+
"invalid": `(nevažeće)`,
|
|
186
|
+
"loading": `Učitavam...`,
|
|
187
|
+
"noResults": `Nema rezultata`
|
|
188
|
+
};
|
|
124
189
|
|
|
125
190
|
|
|
126
191
|
var $03960095ed16cbef$exports = {};
|
|
127
|
-
$03960095ed16cbef$exports =
|
|
192
|
+
$03960095ed16cbef$exports = {
|
|
193
|
+
"clear": `Törlés`,
|
|
194
|
+
"invalid": `(érvénytelen)`,
|
|
195
|
+
"loading": `Betöltés folyamatban…`,
|
|
196
|
+
"noResults": `Nincsenek találatok`
|
|
197
|
+
};
|
|
128
198
|
|
|
129
199
|
|
|
130
200
|
var $80b62c99426ca399$exports = {};
|
|
131
|
-
$80b62c99426ca399$exports =
|
|
201
|
+
$80b62c99426ca399$exports = {
|
|
202
|
+
"clear": `Cancella`,
|
|
203
|
+
"invalid": `(non valido)`,
|
|
204
|
+
"loading": `Caricamento in corso...`,
|
|
205
|
+
"noResults": `Nessun risultato`
|
|
206
|
+
};
|
|
132
207
|
|
|
133
208
|
|
|
134
209
|
var $4f3d7bf4420bf986$exports = {};
|
|
135
|
-
$4f3d7bf4420bf986$exports =
|
|
210
|
+
$4f3d7bf4420bf986$exports = {
|
|
211
|
+
"clear": `クリア`,
|
|
212
|
+
"invalid": `(無効)`,
|
|
213
|
+
"loading": `読み込み中...`,
|
|
214
|
+
"noResults": `結果なし`
|
|
215
|
+
};
|
|
136
216
|
|
|
137
217
|
|
|
138
218
|
var $f59c0b2008842991$exports = {};
|
|
139
|
-
$f59c0b2008842991$exports =
|
|
219
|
+
$f59c0b2008842991$exports = {
|
|
220
|
+
"clear": `지우기`,
|
|
221
|
+
"invalid": `(유효하지 않음)`,
|
|
222
|
+
"loading": `로드 중...`,
|
|
223
|
+
"noResults": `결과 없음`
|
|
224
|
+
};
|
|
140
225
|
|
|
141
226
|
|
|
142
227
|
var $12496033fbabd6e4$exports = {};
|
|
143
|
-
$12496033fbabd6e4$exports =
|
|
228
|
+
$12496033fbabd6e4$exports = {
|
|
229
|
+
"clear": `Skaidrus`,
|
|
230
|
+
"invalid": `(netinkama)`,
|
|
231
|
+
"loading": `Įkeliama...`,
|
|
232
|
+
"noResults": `Be rezultatų`
|
|
233
|
+
};
|
|
144
234
|
|
|
145
235
|
|
|
146
236
|
var $fb44049da7bffead$exports = {};
|
|
147
|
-
$fb44049da7bffead$exports =
|
|
237
|
+
$fb44049da7bffead$exports = {
|
|
238
|
+
"clear": `Notīrīt`,
|
|
239
|
+
"invalid": `(nederīgs)`,
|
|
240
|
+
"loading": `Notiek ielāde...`,
|
|
241
|
+
"noResults": `Nav rezultātu`
|
|
242
|
+
};
|
|
148
243
|
|
|
149
244
|
|
|
150
245
|
var $d8b212e4d3d12650$exports = {};
|
|
151
|
-
$d8b212e4d3d12650$exports =
|
|
246
|
+
$d8b212e4d3d12650$exports = {
|
|
247
|
+
"clear": `Tøm`,
|
|
248
|
+
"invalid": `(ugyldig)`,
|
|
249
|
+
"loading": `Laster inn ...`,
|
|
250
|
+
"noResults": `Ingen resultater`
|
|
251
|
+
};
|
|
152
252
|
|
|
153
253
|
|
|
154
254
|
var $371996b63309609d$exports = {};
|
|
155
|
-
$371996b63309609d$exports =
|
|
255
|
+
$371996b63309609d$exports = {
|
|
256
|
+
"clear": `Helder`,
|
|
257
|
+
"invalid": `(ongeldig)`,
|
|
258
|
+
"loading": `Laden...`,
|
|
259
|
+
"noResults": `Geen resultaten`
|
|
260
|
+
};
|
|
156
261
|
|
|
157
262
|
|
|
158
263
|
var $efc6f6e6ed905c1e$exports = {};
|
|
159
|
-
$efc6f6e6ed905c1e$exports =
|
|
264
|
+
$efc6f6e6ed905c1e$exports = {
|
|
265
|
+
"clear": `Wyczyść`,
|
|
266
|
+
"invalid": `(nieprawidłowy)`,
|
|
267
|
+
"loading": `Trwa ładowanie...`,
|
|
268
|
+
"noResults": `Brak wyników`
|
|
269
|
+
};
|
|
160
270
|
|
|
161
271
|
|
|
162
272
|
var $a2345c0fbc525680$exports = {};
|
|
163
|
-
$a2345c0fbc525680$exports =
|
|
273
|
+
$a2345c0fbc525680$exports = {
|
|
274
|
+
"clear": `Limpar`,
|
|
275
|
+
"invalid": `(inválido)`,
|
|
276
|
+
"loading": `Carregando...`,
|
|
277
|
+
"noResults": `Nenhum resultado`
|
|
278
|
+
};
|
|
164
279
|
|
|
165
280
|
|
|
166
281
|
var $7f2dcd0d3c839a8e$exports = {};
|
|
167
|
-
$7f2dcd0d3c839a8e$exports =
|
|
282
|
+
$7f2dcd0d3c839a8e$exports = {
|
|
283
|
+
"clear": `Limpar`,
|
|
284
|
+
"invalid": `(inválido)`,
|
|
285
|
+
"loading": `A carregar...`,
|
|
286
|
+
"noResults": `Sem resultados`
|
|
287
|
+
};
|
|
168
288
|
|
|
169
289
|
|
|
170
290
|
var $67145023d018e5bb$exports = {};
|
|
171
|
-
$67145023d018e5bb$exports =
|
|
291
|
+
$67145023d018e5bb$exports = {
|
|
292
|
+
"clear": `Golire`,
|
|
293
|
+
"invalid": `(nevalid)`,
|
|
294
|
+
"loading": `Se încarcă...`,
|
|
295
|
+
"noResults": `Niciun rezultat`
|
|
296
|
+
};
|
|
172
297
|
|
|
173
298
|
|
|
174
299
|
var $6356215f3f202785$exports = {};
|
|
175
|
-
$6356215f3f202785$exports =
|
|
300
|
+
$6356215f3f202785$exports = {
|
|
301
|
+
"clear": `Очистить`,
|
|
302
|
+
"invalid": `(недействительно)`,
|
|
303
|
+
"loading": `Загрузка...`,
|
|
304
|
+
"noResults": `Результаты отсутствуют`
|
|
305
|
+
};
|
|
176
306
|
|
|
177
307
|
|
|
178
308
|
var $b994a56052b430d2$exports = {};
|
|
179
|
-
$b994a56052b430d2$exports =
|
|
309
|
+
$b994a56052b430d2$exports = {
|
|
310
|
+
"clear": `Vymazať`,
|
|
311
|
+
"invalid": `(neplatné)`,
|
|
312
|
+
"loading": `Načítava sa...`,
|
|
313
|
+
"noResults": `Žiadne výsledky`
|
|
314
|
+
};
|
|
180
315
|
|
|
181
316
|
|
|
182
317
|
var $2da4771182d8f58a$exports = {};
|
|
183
|
-
$2da4771182d8f58a$exports =
|
|
318
|
+
$2da4771182d8f58a$exports = {
|
|
319
|
+
"clear": `Jasen`,
|
|
320
|
+
"invalid": `(neveljavno)`,
|
|
321
|
+
"loading": `Nalaganje...`,
|
|
322
|
+
"noResults": `Ni rezultatov`
|
|
323
|
+
};
|
|
184
324
|
|
|
185
325
|
|
|
186
326
|
var $df59c510174013a2$exports = {};
|
|
187
|
-
$df59c510174013a2$exports =
|
|
327
|
+
$df59c510174013a2$exports = {
|
|
328
|
+
"clear": `Izbriši`,
|
|
329
|
+
"invalid": `(nevažeće)`,
|
|
330
|
+
"loading": `Učitavam...`,
|
|
331
|
+
"noResults": `Nema rezultata`
|
|
332
|
+
};
|
|
188
333
|
|
|
189
334
|
|
|
190
335
|
var $cc74358029aaa969$exports = {};
|
|
191
|
-
$cc74358029aaa969$exports =
|
|
336
|
+
$cc74358029aaa969$exports = {
|
|
337
|
+
"clear": `Rensa`,
|
|
338
|
+
"invalid": `(ogiltigt)`,
|
|
339
|
+
"loading": `Läser in...`,
|
|
340
|
+
"noResults": `Inga resultat`
|
|
341
|
+
};
|
|
192
342
|
|
|
193
343
|
|
|
194
344
|
var $f2f02f24185117ee$exports = {};
|
|
195
|
-
$f2f02f24185117ee$exports =
|
|
345
|
+
$f2f02f24185117ee$exports = {
|
|
346
|
+
"clear": `Temizle`,
|
|
347
|
+
"invalid": `(geçersiz)`,
|
|
348
|
+
"loading": `Yükleniyor...`,
|
|
349
|
+
"noResults": `Sonuç yok`
|
|
350
|
+
};
|
|
196
351
|
|
|
197
352
|
|
|
198
353
|
var $d1d34edf0f3ceaf3$exports = {};
|
|
199
|
-
$d1d34edf0f3ceaf3$exports =
|
|
354
|
+
$d1d34edf0f3ceaf3$exports = {
|
|
355
|
+
"clear": `Очистити`,
|
|
356
|
+
"invalid": `(недійсне)`,
|
|
357
|
+
"loading": `Завантаження...`,
|
|
358
|
+
"noResults": `Результатів немає`
|
|
359
|
+
};
|
|
200
360
|
|
|
201
361
|
|
|
202
362
|
var $ed8755b89941d0d9$exports = {};
|
|
203
|
-
$ed8755b89941d0d9$exports =
|
|
363
|
+
$ed8755b89941d0d9$exports = {
|
|
364
|
+
"clear": `透明`,
|
|
365
|
+
"invalid": `(无效)`,
|
|
366
|
+
"loading": `正在加载...`,
|
|
367
|
+
"noResults": `无结果`
|
|
368
|
+
};
|
|
204
369
|
|
|
205
370
|
|
|
206
371
|
var $8820eb5aeb0d2ed8$exports = {};
|
|
207
|
-
$8820eb5aeb0d2ed8$exports =
|
|
372
|
+
$8820eb5aeb0d2ed8$exports = {
|
|
373
|
+
"clear": `清除`,
|
|
374
|
+
"invalid": `(無效)`,
|
|
375
|
+
"loading": `正在載入...`,
|
|
376
|
+
"noResults": `無任何結果`
|
|
377
|
+
};
|
|
208
378
|
|
|
209
379
|
|
|
210
380
|
$ead3369732595b45$exports = {
|
|
@@ -528,7 +698,6 @@ var $40cb3a00c193680f$exports = {};
|
|
|
528
698
|
$parcel$export($40cb3a00c193680f$exports, "spectrum-Textfield-input", () => $40cb3a00c193680f$export$1ac009feb2b0bd0c, (v) => $40cb3a00c193680f$export$1ac009feb2b0bd0c = v);
|
|
529
699
|
$parcel$export($40cb3a00c193680f$exports, "spectrum-Textfield", () => $40cb3a00c193680f$export$2c8a10299d8b3418, (v) => $40cb3a00c193680f$export$2c8a10299d8b3418 = v);
|
|
530
700
|
$parcel$export($40cb3a00c193680f$exports, "spectrum-Textfield--quiet", () => $40cb3a00c193680f$export$bffd5e3d61a81737, (v) => $40cb3a00c193680f$export$bffd5e3d61a81737 = v);
|
|
531
|
-
$parcel$export($40cb3a00c193680f$exports, "spectrum-Textfield--readonly", () => $40cb3a00c193680f$export$ed65520848a7d1ae, (v) => $40cb3a00c193680f$export$ed65520848a7d1ae = v);
|
|
532
701
|
$parcel$export($40cb3a00c193680f$exports, "spectrum-Textfield--multiline", () => $40cb3a00c193680f$export$9699f1c538a448a0, (v) => $40cb3a00c193680f$export$9699f1c538a448a0 = v);
|
|
533
702
|
$parcel$export($40cb3a00c193680f$exports, "is-placeholder", () => $40cb3a00c193680f$export$e5b2f5233e4e5194, (v) => $40cb3a00c193680f$export$e5b2f5233e4e5194 = v);
|
|
534
703
|
$parcel$export($40cb3a00c193680f$exports, "is-hovered", () => $40cb3a00c193680f$export$b8813cd5d7824ce7, (v) => $40cb3a00c193680f$export$b8813cd5d7824ce7 = v);
|
|
@@ -545,7 +714,6 @@ $parcel$export($40cb3a00c193680f$exports, "is-disabled", () => $40cb3a00c193680f
|
|
|
545
714
|
var $40cb3a00c193680f$export$1ac009feb2b0bd0c;
|
|
546
715
|
var $40cb3a00c193680f$export$2c8a10299d8b3418;
|
|
547
716
|
var $40cb3a00c193680f$export$bffd5e3d61a81737;
|
|
548
|
-
var $40cb3a00c193680f$export$ed65520848a7d1ae;
|
|
549
717
|
var $40cb3a00c193680f$export$9699f1c538a448a0;
|
|
550
718
|
var $40cb3a00c193680f$export$e5b2f5233e4e5194;
|
|
551
719
|
var $40cb3a00c193680f$export$b8813cd5d7824ce7;
|
|
@@ -562,7 +730,6 @@ var $40cb3a00c193680f$export$d35bc1e505d1ebbf;
|
|
|
562
730
|
$40cb3a00c193680f$export$1ac009feb2b0bd0c = "spectrum-Textfield-input_73bc77";
|
|
563
731
|
$40cb3a00c193680f$export$2c8a10299d8b3418 = "spectrum-Textfield_73bc77";
|
|
564
732
|
$40cb3a00c193680f$export$bffd5e3d61a81737 = "spectrum-Textfield--quiet_73bc77";
|
|
565
|
-
$40cb3a00c193680f$export$ed65520848a7d1ae = "spectrum-Textfield--readonly_73bc77";
|
|
566
733
|
$40cb3a00c193680f$export$9699f1c538a448a0 = "spectrum-Textfield--multiline_73bc77";
|
|
567
734
|
$40cb3a00c193680f$export$e5b2f5233e4e5194 = "is-placeholder_73bc77";
|
|
568
735
|
$40cb3a00c193680f$export$b8813cd5d7824ce7 = "is-hovered_73bc77";
|
|
@@ -652,12 +819,12 @@ const $e514018f82d1b067$export$7637df911c069b4d = /*#__PURE__*/ ($parcel$interop
|
|
|
652
819
|
});
|
|
653
820
|
const $e514018f82d1b067$var$ComboBoxButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxButton(props, ref) {
|
|
654
821
|
let { isQuiet: isQuiet , isDisabled: isDisabled , isPlaceholder: isPlaceholder , validationState: validationState , children: children , style: style , className: className } = props;
|
|
655
|
-
let
|
|
822
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
656
823
|
let valueId = $15RmB$reactariautils.useId();
|
|
657
824
|
let invalidId = $15RmB$reactariautils.useId();
|
|
658
825
|
let validationIcon = validationState === 'invalid' ? /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiAlertMedium)), {
|
|
659
826
|
id: invalidId,
|
|
660
|
-
"aria-label":
|
|
827
|
+
"aria-label": stringFormatter.format('invalid')
|
|
661
828
|
}) : /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiCheckmarkMedium)), null);
|
|
662
829
|
let validation = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).cloneElement(validationIcon, {
|
|
663
830
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-validationIcon', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($2f86633ce5b04f1e$exports)), 'spectrum-InputGroup-input-validationIcon'))
|
|
@@ -728,7 +895,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
728
895
|
let popoverRef = $15RmB$react.useRef();
|
|
729
896
|
let listBoxRef = $15RmB$react.useRef();
|
|
730
897
|
let layout = $15RmB$reactspectrumlistbox.useListBoxLayout(state);
|
|
731
|
-
let
|
|
898
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
732
899
|
let { inputProps: inputProps , listBoxProps: listBoxProps , labelProps: labelProps } = $15RmB$reactariacombobox.useComboBox({
|
|
733
900
|
...props,
|
|
734
901
|
// completionMode,
|
|
@@ -762,7 +929,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
762
929
|
delete inputProps.onTouchEnd;
|
|
763
930
|
let clearButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumbutton.ClearButton, {
|
|
764
931
|
preventFocus: true,
|
|
765
|
-
"aria-label":
|
|
932
|
+
"aria-label": stringFormatter.format('clear'),
|
|
766
933
|
excludeFromTabOrder: true,
|
|
767
934
|
onPress: ()=>{
|
|
768
935
|
state.setInputValue('');
|
|
@@ -772,7 +939,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
772
939
|
isDisabled: isDisabled
|
|
773
940
|
});
|
|
774
941
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
775
|
-
"aria-label":
|
|
942
|
+
"aria-label": stringFormatter.format('loading'),
|
|
776
943
|
size: "S",
|
|
777
944
|
isIndeterminate: true,
|
|
778
945
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($1e139f06a0a4b696$exports)), 'spectrum-Search-circleLoader', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-circleLoader'))
|
|
@@ -872,7 +1039,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
872
1039
|
shouldUseVirtualFocus: true,
|
|
873
1040
|
renderEmptyState: ()=>loadingState !== 'loading' && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
874
1041
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
875
|
-
},
|
|
1042
|
+
}, stringFormatter.format('noResults'))
|
|
876
1043
|
,
|
|
877
1044
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'tray-listbox'),
|
|
878
1045
|
ref: listBoxRef,
|
|
@@ -915,7 +1082,7 @@ function $e4f518eb9b010873$var$ComboBox(props, ref) {
|
|
|
915
1082
|
}
|
|
916
1083
|
const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxBase(props, ref) {
|
|
917
1084
|
let { menuTrigger: menuTrigger = 'input' , shouldFlip: shouldFlip = true , direction: direction = 'bottom' , isQuiet: isQuiet , loadingState: loadingState , onLoadMore: onLoadMore } = props;
|
|
918
|
-
let
|
|
1085
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
919
1086
|
let isAsync = loadingState != null;
|
|
920
1087
|
let popoverRef = $15RmB$react.useRef();
|
|
921
1088
|
let unwrappedPopoverRef = $15RmB$reactspectrumutils.useUnwrapDOMRef(popoverRef);
|
|
@@ -1028,7 +1195,7 @@ const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault
|
|
|
1028
1195
|
onLoadMore: onLoadMore,
|
|
1029
1196
|
renderEmptyState: ()=>isAsync && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
1030
1197
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
1031
|
-
}, loadingState === 'loading' ?
|
|
1198
|
+
}, loadingState === 'loading' ? stringFormatter.format('loading') : stringFormatter.format('noResults'))
|
|
1032
1199
|
}), /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactariaoverlays.DismissButton, {
|
|
1033
1200
|
onDismiss: ()=>state.close()
|
|
1034
1201
|
}))));
|
|
@@ -1037,11 +1204,11 @@ const $e4f518eb9b010873$var$ComboBoxInput = /*#__PURE__*/ ($parcel$interopDefaul
|
|
|
1037
1204
|
let { isQuiet: isQuiet , isDisabled: isDisabled , validationState: validationState , inputProps: inputProps , inputRef: inputRef , triggerProps: triggerProps , triggerRef: triggerRef , autoFocus: autoFocus , style: style , className: className , loadingState: loadingState , isOpen: isOpen , menuTrigger: menuTrigger } = props;
|
|
1038
1205
|
let { hoverProps: hoverProps , isHovered: isHovered } = $15RmB$reactariainteractions.useHover({
|
|
1039
1206
|
});
|
|
1040
|
-
let
|
|
1207
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
1041
1208
|
let timeout = $15RmB$react.useRef(null);
|
|
1042
1209
|
let [showLoading, setShowLoading] = $15RmB$react.useState(false);
|
|
1043
1210
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
1044
|
-
"aria-label":
|
|
1211
|
+
"aria-label": stringFormatter.format('loading'),
|
|
1045
1212
|
size: "S",
|
|
1046
1213
|
isIndeterminate: true,
|
|
1047
1214
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($40cb3a00c193680f$exports)), 'spectrum-Textfield-circleLoader', $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($2f86633ce5b04f1e$exports)), 'spectrum-InputGroup-input-circleLoader'))
|