@react-spectrum/combobox 3.4.2-nightly.3363 → 3.4.2-nightly.3375
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.js +214 -44
- package/dist/main.js.map +1 -1
- package/dist/module.js +215 -45
- 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 = {
|
|
@@ -652,12 +822,12 @@ const $e514018f82d1b067$export$7637df911c069b4d = /*#__PURE__*/ ($parcel$interop
|
|
|
652
822
|
});
|
|
653
823
|
const $e514018f82d1b067$var$ComboBoxButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxButton(props, ref) {
|
|
654
824
|
let { isQuiet: isQuiet , isDisabled: isDisabled , isPlaceholder: isPlaceholder , validationState: validationState , children: children , style: style , className: className } = props;
|
|
655
|
-
let
|
|
825
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
656
826
|
let valueId = $15RmB$reactariautils.useId();
|
|
657
827
|
let invalidId = $15RmB$reactariautils.useId();
|
|
658
828
|
let validationIcon = validationState === 'invalid' ? /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiAlertMedium)), {
|
|
659
829
|
id: invalidId,
|
|
660
|
-
"aria-label":
|
|
830
|
+
"aria-label": stringFormatter.format('invalid')
|
|
661
831
|
}) : /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement(($parcel$interopDefault($15RmB$spectrumiconsuiCheckmarkMedium)), null);
|
|
662
832
|
let validation = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).cloneElement(validationIcon, {
|
|
663
833
|
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 +898,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
728
898
|
let popoverRef = $15RmB$react.useRef();
|
|
729
899
|
let listBoxRef = $15RmB$react.useRef();
|
|
730
900
|
let layout = $15RmB$reactspectrumlistbox.useListBoxLayout(state);
|
|
731
|
-
let
|
|
901
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
732
902
|
let { inputProps: inputProps , listBoxProps: listBoxProps , labelProps: labelProps } = $15RmB$reactariacombobox.useComboBox({
|
|
733
903
|
...props,
|
|
734
904
|
// completionMode,
|
|
@@ -762,7 +932,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
762
932
|
delete inputProps.onTouchEnd;
|
|
763
933
|
let clearButton = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumbutton.ClearButton, {
|
|
764
934
|
preventFocus: true,
|
|
765
|
-
"aria-label":
|
|
935
|
+
"aria-label": stringFormatter.format('clear'),
|
|
766
936
|
excludeFromTabOrder: true,
|
|
767
937
|
onPress: ()=>{
|
|
768
938
|
state.setInputValue('');
|
|
@@ -772,7 +942,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
772
942
|
isDisabled: isDisabled
|
|
773
943
|
});
|
|
774
944
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
775
|
-
"aria-label":
|
|
945
|
+
"aria-label": stringFormatter.format('loading'),
|
|
776
946
|
size: "S",
|
|
777
947
|
isIndeterminate: true,
|
|
778
948
|
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 +1042,7 @@ function $e514018f82d1b067$var$ComboBoxTray(props) {
|
|
|
872
1042
|
shouldUseVirtualFocus: true,
|
|
873
1043
|
renderEmptyState: ()=>loadingState !== 'loading' && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
874
1044
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
875
|
-
},
|
|
1045
|
+
}, stringFormatter.format('noResults'))
|
|
876
1046
|
,
|
|
877
1047
|
UNSAFE_className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'tray-listbox'),
|
|
878
1048
|
ref: listBoxRef,
|
|
@@ -915,7 +1085,7 @@ function $e4f518eb9b010873$var$ComboBox(props, ref) {
|
|
|
915
1085
|
}
|
|
916
1086
|
const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).forwardRef(function ComboBoxBase(props, ref) {
|
|
917
1087
|
let { menuTrigger: menuTrigger = 'input' , shouldFlip: shouldFlip = true , direction: direction = 'bottom' , isQuiet: isQuiet , loadingState: loadingState , onLoadMore: onLoadMore } = props;
|
|
918
|
-
let
|
|
1088
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
919
1089
|
let isAsync = loadingState != null;
|
|
920
1090
|
let popoverRef = $15RmB$react.useRef();
|
|
921
1091
|
let unwrappedPopoverRef = $15RmB$reactspectrumutils.useUnwrapDOMRef(popoverRef);
|
|
@@ -1028,7 +1198,7 @@ const $e4f518eb9b010873$var$ComboBoxBase = /*#__PURE__*/ ($parcel$interopDefault
|
|
|
1028
1198
|
onLoadMore: onLoadMore,
|
|
1029
1199
|
renderEmptyState: ()=>isAsync && /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement("span", {
|
|
1030
1200
|
className: $15RmB$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($41fae9390a5a37fa$exports)), 'no-results')
|
|
1031
|
-
}, loadingState === 'loading' ?
|
|
1201
|
+
}, loadingState === 'loading' ? stringFormatter.format('loading') : stringFormatter.format('noResults'))
|
|
1032
1202
|
}), /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactariaoverlays.DismissButton, {
|
|
1033
1203
|
onDismiss: ()=>state.close()
|
|
1034
1204
|
}))));
|
|
@@ -1037,11 +1207,11 @@ const $e4f518eb9b010873$var$ComboBoxInput = /*#__PURE__*/ ($parcel$interopDefaul
|
|
|
1037
1207
|
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
1208
|
let { hoverProps: hoverProps , isHovered: isHovered } = $15RmB$reactariainteractions.useHover({
|
|
1039
1209
|
});
|
|
1040
|
-
let
|
|
1210
|
+
let stringFormatter = $15RmB$reactariai18n.useLocalizedStringFormatter((/*@__PURE__*/$parcel$interopDefault($ead3369732595b45$exports)));
|
|
1041
1211
|
let timeout = $15RmB$react.useRef(null);
|
|
1042
1212
|
let [showLoading, setShowLoading] = $15RmB$react.useState(false);
|
|
1043
1213
|
let loadingCircle = /*#__PURE__*/ ($parcel$interopDefault($15RmB$react)).createElement($15RmB$reactspectrumprogress.ProgressCircle, {
|
|
1044
|
-
"aria-label":
|
|
1214
|
+
"aria-label": stringFormatter.format('loading'),
|
|
1045
1215
|
size: "S",
|
|
1046
1216
|
isIndeterminate: true,
|
|
1047
1217
|
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'))
|