@react-spectrum/actionbar 3.0.0-alpha.8 → 3.0.0-beta.0

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.
@@ -0,0 +1,676 @@
1
+ import "./main.css";
2
+ import {Item as $da70baa779e17e7a$re_export$Item} from "@react-stately/collections";
3
+ import {ActionButton as $N9qJl$ActionButton} from "@react-spectrum/button";
4
+ import {ActionGroup as $N9qJl$ActionGroup} from "@react-spectrum/actiongroup";
5
+ import {announce as $N9qJl$announce} from "@react-aria/live-announcer";
6
+ import {useDOMRef as $N9qJl$useDOMRef, useStyleProps as $N9qJl$useStyleProps, classNames as $N9qJl$classNames} from "@react-spectrum/utils";
7
+ import $N9qJl$spectrumiconsuiCrossLarge from "@spectrum-icons/ui/CrossLarge";
8
+ import {filterDOMProps as $N9qJl$filterDOMProps} from "@react-aria/utils";
9
+ import {FocusScope as $N9qJl$FocusScope} from "@react-aria/focus";
10
+ import {OpenTransition as $N9qJl$OpenTransition} from "@react-spectrum/overlays";
11
+ import $N9qJl$react, {useRef as $N9qJl$useRef, useEffect as $N9qJl$useEffect} from "react";
12
+ import {Text as $N9qJl$Text} from "@react-spectrum/text";
13
+ import {useKeyboard as $N9qJl$useKeyboard} from "@react-aria/interactions";
14
+ import {useLocalizedStringFormatter as $N9qJl$useLocalizedStringFormatter} from "@react-aria/i18n";
15
+ import {useProviderProps as $N9qJl$useProviderProps} from "@react-spectrum/provider";
16
+
17
+ function $parcel$interopDefault(a) {
18
+ return a && a.__esModule ? a.default : a;
19
+ }
20
+ function $parcel$export(e, n, v, s) {
21
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
22
+ }
23
+ /*
24
+ * Copyright 2020 Adobe. All rights reserved.
25
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
26
+ * you may not use this file except in compliance with the License. You may obtain a copy
27
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
28
+ *
29
+ * Unless required by applicable law or agreed to in writing, software distributed under
30
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
31
+ * OF ANY KIND, either express or implied. See the License for the specific language
32
+ * governing permissions and limitations under the License.
33
+ */ /// <reference types="css-module-types" />
34
+ /*
35
+ * Copyright 2020 Adobe. All rights reserved.
36
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
37
+ * you may not use this file except in compliance with the License. You may obtain a copy
38
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
39
+ *
40
+ * Unless required by applicable law or agreed to in writing, software distributed under
41
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
42
+ * OF ANY KIND, either express or implied. See the License for the specific language
43
+ * governing permissions and limitations under the License.
44
+ */
45
+
46
+
47
+
48
+
49
+
50
+
51
+ var $992d76e8dd5fee7b$exports = {};
52
+ var $42f1aaf0cd835ede$exports = {};
53
+ $42f1aaf0cd835ede$exports = {
54
+ "actions": `الإجراءات`,
55
+ "actionsAvailable": `الإجراءات المتاحة.`,
56
+ "clearSelection": `إزالة التحديد`,
57
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
58
+ "=0": `غير محدد`,
59
+ other: ()=>`${formatter.number(args.count)} محدد`
60
+ })}`,
61
+ "selectedAll": `تم تحديد الكل`
62
+ };
63
+
64
+
65
+ var $22c931b8c5fa9db9$exports = {};
66
+ $22c931b8c5fa9db9$exports = {
67
+ "actions": `Действия`,
68
+ "actionsAvailable": `Налични действия.`,
69
+ "clearSelection": `Изчистване на избора`,
70
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
71
+ "=0": `Няма избрани`,
72
+ other: ()=>`${formatter.number(args.count)} избрани`
73
+ })}`,
74
+ "selectedAll": `Всички избрани`
75
+ };
76
+
77
+
78
+ var $07dc24deaaf64ab0$exports = {};
79
+ $07dc24deaaf64ab0$exports = {
80
+ "actions": `Akce`,
81
+ "actionsAvailable": `Dostupné akce.`,
82
+ "clearSelection": `Vymazat výběr`,
83
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
84
+ "=0": `Nic není vybráno`,
85
+ other: ()=>`Vybráno ${formatter.number(args.count)}`
86
+ })}`,
87
+ "selectedAll": `Vybráno vše`
88
+ };
89
+
90
+
91
+ var $44fd3a75baaf9937$exports = {};
92
+ $44fd3a75baaf9937$exports = {
93
+ "actions": `Handlinger`,
94
+ "actionsAvailable": `Tilgængelige handlinger.`,
95
+ "clearSelection": `Ryd markering`,
96
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
97
+ "=0": `Ingen valgt`,
98
+ other: ()=>`${formatter.number(args.count)} valgt`
99
+ })}`,
100
+ "selectedAll": `Alle valgt`
101
+ };
102
+
103
+
104
+ var $3281990be7bd78f6$exports = {};
105
+ $3281990be7bd78f6$exports = {
106
+ "actions": `Aktionen`,
107
+ "actionsAvailable": `Aktionen verfügbar.`,
108
+ "clearSelection": `Auswahl löschen`,
109
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
110
+ "=0": `Nichts ausgewählt`,
111
+ other: ()=>`${formatter.number(args.count)} ausgewählt`
112
+ })}`,
113
+ "selectedAll": `Alles ausgewählt`
114
+ };
115
+
116
+
117
+ var $242cbd951f3bcfeb$exports = {};
118
+ $242cbd951f3bcfeb$exports = {
119
+ "actions": `Ενέργειες`,
120
+ "actionsAvailable": `Υπάρχουν διαθέσιμες ενέργειες.`,
121
+ "clearSelection": `Εκκαθάριση επιλογής`,
122
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
123
+ "=0": `Δεν επιλέχθηκε κανένα`,
124
+ other: ()=>`Επιλέχθηκαν ${formatter.number(args.count)}`
125
+ })}`,
126
+ "selectedAll": `Επιλέχθηκαν όλα`
127
+ };
128
+
129
+
130
+ var $117deeeb64547dc7$exports = {};
131
+ $117deeeb64547dc7$exports = {
132
+ "clearSelection": `Clear selection`,
133
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
134
+ "=0": `None selected`,
135
+ other: ()=>`${formatter.number(args.count)} selected`
136
+ })}`,
137
+ "selectedAll": `All selected`,
138
+ "actions": `Actions`,
139
+ "actionsAvailable": `Actions available.`
140
+ };
141
+
142
+
143
+ var $5b8605d86a9af2ee$exports = {};
144
+ $5b8605d86a9af2ee$exports = {
145
+ "actions": `Acciones`,
146
+ "actionsAvailable": `Acciones disponibles.`,
147
+ "clearSelection": `Borrar selección`,
148
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
149
+ "=0": `Nada seleccionado`,
150
+ other: ()=>`${formatter.number(args.count)} seleccionado`
151
+ })}`,
152
+ "selectedAll": `Todo seleccionado`
153
+ };
154
+
155
+
156
+ var $5530e5c9f2623025$exports = {};
157
+ $5530e5c9f2623025$exports = {
158
+ "actions": `Toimingud`,
159
+ "actionsAvailable": `Toimingud saadaval.`,
160
+ "clearSelection": `Puhasta valik`,
161
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
162
+ "=0": `Pole valitud`,
163
+ other: ()=>`${formatter.number(args.count)} valitud`
164
+ })}`,
165
+ "selectedAll": `Kõik valitud`
166
+ };
167
+
168
+
169
+ var $7a405d1dfc563131$exports = {};
170
+ $7a405d1dfc563131$exports = {
171
+ "actions": `Toiminnot`,
172
+ "actionsAvailable": `Toiminnot käytettävissä.`,
173
+ "clearSelection": `Poista valinta`,
174
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
175
+ "=0": `Ei mitään valittu`,
176
+ other: ()=>`${formatter.number(args.count)} valittu`
177
+ })}`,
178
+ "selectedAll": `Kaikki valittu`
179
+ };
180
+
181
+
182
+ var $e0c3da022513542b$exports = {};
183
+ $e0c3da022513542b$exports = {
184
+ "actions": `Actions`,
185
+ "actionsAvailable": `Actions disponibles.`,
186
+ "clearSelection": `Supprimer la sélection`,
187
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
188
+ "=0": `Aucun élément sélectionné`,
189
+ other: ()=>`${formatter.number(args.count)} sélectionnés`
190
+ })}`,
191
+ "selectedAll": `Toute la sélection`
192
+ };
193
+
194
+
195
+ var $796ff5aed019aee1$exports = {};
196
+ $796ff5aed019aee1$exports = {
197
+ "actions": `פעולות`,
198
+ "actionsAvailable": `פעולות זמינות.`,
199
+ "clearSelection": `נקה בחירה`,
200
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
201
+ "=0": `לא בוצעה בחירה`,
202
+ other: ()=>`${formatter.number(args.count)} נבחרו`
203
+ })}`,
204
+ "selectedAll": `כל הפריטים שנבחרו`
205
+ };
206
+
207
+
208
+ var $e1066348ea80fd36$exports = {};
209
+ $e1066348ea80fd36$exports = {
210
+ "actions": `Radnje`,
211
+ "actionsAvailable": `Dostupne radnje.`,
212
+ "clearSelection": `Poništi odabir`,
213
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
214
+ "=0": `Nijedna nije odabrana`,
215
+ other: ()=>`${formatter.number(args.count)} je odabrano`
216
+ })}`,
217
+ "selectedAll": `Sve je odabrano`
218
+ };
219
+
220
+
221
+ var $939ac78e6c54d005$exports = {};
222
+ $939ac78e6c54d005$exports = {
223
+ "actions": `Műveletek`,
224
+ "actionsAvailable": `Műveletek állnak rendelkezésre.`,
225
+ "clearSelection": `Kijelölés törlése`,
226
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
227
+ "=0": `Egy sincs kijelölve`,
228
+ other: ()=>`${formatter.number(args.count)} kijelölve`
229
+ })}`,
230
+ "selectedAll": `Mind kijelölve`
231
+ };
232
+
233
+
234
+ var $087af352bd8a67a5$exports = {};
235
+ $087af352bd8a67a5$exports = {
236
+ "actions": `Azioni`,
237
+ "actionsAvailable": `Azioni disponibili.`,
238
+ "clearSelection": `Annulla selezione`,
239
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
240
+ "=0": `Nessuno selezionato`,
241
+ other: ()=>`${formatter.number(args.count)} selezionato/i`
242
+ })}`,
243
+ "selectedAll": `Tutti selezionati`
244
+ };
245
+
246
+
247
+ var $ef25b75f84bf9640$exports = {};
248
+ $ef25b75f84bf9640$exports = {
249
+ "actions": `アクション`,
250
+ "actionsAvailable": `アクションを利用できます。`,
251
+ "clearSelection": `選択をクリア`,
252
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
253
+ "=0": `選択されていません`,
254
+ other: ()=>`${formatter.number(args.count)} 個を選択しました`
255
+ })}`,
256
+ "selectedAll": `すべてを選択`
257
+ };
258
+
259
+
260
+ var $a9fcaa28ab16ac58$exports = {};
261
+ $a9fcaa28ab16ac58$exports = {
262
+ "actions": `액션`,
263
+ "actionsAvailable": `사용 가능한 액션`,
264
+ "clearSelection": `선택 항목 지우기`,
265
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
266
+ "=0": `선택된 항목 없음`,
267
+ other: ()=>`${formatter.number(args.count)}개 선택됨`
268
+ })}`,
269
+ "selectedAll": `모두 선택됨`
270
+ };
271
+
272
+
273
+ var $7103396bd37d192c$exports = {};
274
+ $7103396bd37d192c$exports = {
275
+ "actions": `Veiksmai`,
276
+ "actionsAvailable": `Galimi veiksmai.`,
277
+ "clearSelection": `Išvalyti pasirinkimą`,
278
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
279
+ "=0": `Nieko nepasirinkta`,
280
+ other: ()=>`Pasirinkta ${formatter.number(args.count)}`
281
+ })}`,
282
+ "selectedAll": `Pasirinkta viskas`
283
+ };
284
+
285
+
286
+ var $da39587a937fb6fd$exports = {};
287
+ $da39587a937fb6fd$exports = {
288
+ "actions": `Darbības`,
289
+ "actionsAvailable": `Pieejamas darbības.`,
290
+ "clearSelection": `Notīrīt atlasi`,
291
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
292
+ "=0": `Nav atlasīts nekas`,
293
+ other: ()=>`Atlasīts: ${formatter.number(args.count)}`
294
+ })}`,
295
+ "selectedAll": `Atlasīts viss`
296
+ };
297
+
298
+
299
+ var $fef3c3414d151198$exports = {};
300
+ $fef3c3414d151198$exports = {
301
+ "actions": `Handlinger`,
302
+ "actionsAvailable": `Tilgjengelige handlinger.`,
303
+ "clearSelection": `Tøm utvalg`,
304
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
305
+ "=0": `Ingen er valgt`,
306
+ other: ()=>`${formatter.number(args.count)} er valgt`
307
+ })}`,
308
+ "selectedAll": `Alle er valgt`
309
+ };
310
+
311
+
312
+ var $3cfd427955fee95c$exports = {};
313
+ $3cfd427955fee95c$exports = {
314
+ "actions": `Acties`,
315
+ "actionsAvailable": `Acties beschikbaar.`,
316
+ "clearSelection": `Selectie wissen`,
317
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
318
+ "=0": `Niets geselecteerd`,
319
+ other: ()=>`${formatter.number(args.count)} geselecteerd`
320
+ })}`,
321
+ "selectedAll": `Alles geselecteerd`
322
+ };
323
+
324
+
325
+ var $ecd102793531599a$exports = {};
326
+ $ecd102793531599a$exports = {
327
+ "actions": `Działania`,
328
+ "actionsAvailable": `Dostępne działania.`,
329
+ "clearSelection": `Wyczyść zaznaczenie`,
330
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
331
+ "=0": `Nie zaznaczono żadnego elementu`,
332
+ other: ()=>`${formatter.number(args.count)} zaznaczonych`
333
+ })}`,
334
+ "selectedAll": `Wszystkie zaznaczone`
335
+ };
336
+
337
+
338
+ var $70b0a95af4186e29$exports = {};
339
+ $70b0a95af4186e29$exports = {
340
+ "actions": `Ações`,
341
+ "actionsAvailable": `Ações disponíveis.`,
342
+ "clearSelection": `Limpar seleção`,
343
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
344
+ "=0": `Nada selecionado`,
345
+ other: ()=>`${formatter.number(args.count)} selecionado`
346
+ })}`,
347
+ "selectedAll": `Todos selecionados`
348
+ };
349
+
350
+
351
+ var $4b15e180aed5c52d$exports = {};
352
+ $4b15e180aed5c52d$exports = {
353
+ "actions": `Ações`,
354
+ "actionsAvailable": `Ações disponíveis.`,
355
+ "clearSelection": `Limpar seleção`,
356
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
357
+ "=0": `Nenhum selecionado`,
358
+ other: ()=>`${formatter.number(args.count)} selecionado`
359
+ })}`,
360
+ "selectedAll": `Tudo selecionado`
361
+ };
362
+
363
+
364
+ var $d0ef0a1cef9c2d6c$exports = {};
365
+ $d0ef0a1cef9c2d6c$exports = {
366
+ "actions": `Acțiuni`,
367
+ "actionsAvailable": `Acțiuni disponibile.`,
368
+ "clearSelection": `Goliți selecția`,
369
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
370
+ "=0": `Niciunul selectat`,
371
+ other: ()=>`${formatter.number(args.count)} selectate`
372
+ })}`,
373
+ "selectedAll": `Toate selectate`
374
+ };
375
+
376
+
377
+ var $58fc1ff371f0c7fd$exports = {};
378
+ $58fc1ff371f0c7fd$exports = {
379
+ "actions": `Действия`,
380
+ "actionsAvailable": `Возможно выполнение действий.`,
381
+ "clearSelection": `Очистить выбор`,
382
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
383
+ "=0": `Ничего не выбоано`,
384
+ other: ()=>`${formatter.number(args.count)} выбрано`
385
+ })}`,
386
+ "selectedAll": `Выбрано все`
387
+ };
388
+
389
+
390
+ var $b5f65f4e7988d1dd$exports = {};
391
+ $b5f65f4e7988d1dd$exports = {
392
+ "actions": `Akcie`,
393
+ "actionsAvailable": `Dostupné akcie.`,
394
+ "clearSelection": `Vymazať výber`,
395
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
396
+ "=0": `Žiadne vybraté položky`,
397
+ other: ()=>`Počet vybratých položiek: ${formatter.number(args.count)}`
398
+ })}`,
399
+ "selectedAll": `Všetky vybraté položky`
400
+ };
401
+
402
+
403
+ var $5409ad409aeaf678$exports = {};
404
+ $5409ad409aeaf678$exports = {
405
+ "actions": `Dejanja`,
406
+ "actionsAvailable": `Na voljo so dejanja.`,
407
+ "clearSelection": `Počisti izbor`,
408
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
409
+ "=0": `Nič izbranih`,
410
+ other: ()=>`${formatter.number(args.count)} izbranih`
411
+ })}`,
412
+ "selectedAll": `Vsi izbrani`
413
+ };
414
+
415
+
416
+ var $43feb38b3d4bbf1f$exports = {};
417
+ $43feb38b3d4bbf1f$exports = {
418
+ "actions": `Radnje`,
419
+ "actionsAvailable": `Dostupne su radnje.`,
420
+ "clearSelection": `Poništi izbor`,
421
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
422
+ "=0": `Ništa nije izabrano`,
423
+ other: ()=>`${formatter.number(args.count)} je izabrano`
424
+ })}`,
425
+ "selectedAll": `Sve je izabrano`
426
+ };
427
+
428
+
429
+ var $cbe41ff823ebe108$exports = {};
430
+ $cbe41ff823ebe108$exports = {
431
+ "actions": `Åtgärder`,
432
+ "actionsAvailable": `Åtgärder finns.`,
433
+ "clearSelection": `Rensa markering`,
434
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
435
+ "=0": `Inga markerade`,
436
+ other: ()=>`${formatter.number(args.count)} markerade`
437
+ })}`,
438
+ "selectedAll": `Alla markerade`
439
+ };
440
+
441
+
442
+ var $57b680843fcbe09e$exports = {};
443
+ $57b680843fcbe09e$exports = {
444
+ "actions": `Eylemler`,
445
+ "actionsAvailable": `Eylemler mevcut.`,
446
+ "clearSelection": `Seçimi temizle`,
447
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
448
+ "=0": `Hiçbiri seçilmedi`,
449
+ other: ()=>`${formatter.number(args.count)} seçildi`
450
+ })}`,
451
+ "selectedAll": `Tümü seçildi`
452
+ };
453
+
454
+
455
+ var $1e4c96bc308e0da2$exports = {};
456
+ $1e4c96bc308e0da2$exports = {
457
+ "actions": `Дії`,
458
+ "actionsAvailable": `Доступні дії.`,
459
+ "clearSelection": `Очистити вибір`,
460
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
461
+ "=0": `Нічого не вибрано`,
462
+ other: ()=>`Вибрано: ${formatter.number(args.count)}`
463
+ })}`,
464
+ "selectedAll": `Усе вибрано`
465
+ };
466
+
467
+
468
+ var $18faa55a67dca8f3$exports = {};
469
+ $18faa55a67dca8f3$exports = {
470
+ "actions": `操作`,
471
+ "actionsAvailable": `有可用操作。`,
472
+ "clearSelection": `清除选择`,
473
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
474
+ "=0": `无选择`,
475
+ other: ()=>`已选择 ${formatter.number(args.count)} 个`
476
+ })}`,
477
+ "selectedAll": `全选`
478
+ };
479
+
480
+
481
+ var $804c64c525579787$exports = {};
482
+ $804c64c525579787$exports = {
483
+ "actions": `動作`,
484
+ "actionsAvailable": `可執行的動作。`,
485
+ "clearSelection": `清除選取項目`,
486
+ "selected": (args, formatter)=>`${formatter.plural(args.count, {
487
+ "=0": `未選取任何項目`,
488
+ other: ()=>`已選取 ${formatter.number(args.count)} 個`
489
+ })}`,
490
+ "selectedAll": `已選取所有項目`
491
+ };
492
+
493
+
494
+ $992d76e8dd5fee7b$exports = {
495
+ "ar-AE": $42f1aaf0cd835ede$exports,
496
+ "bg-BG": $22c931b8c5fa9db9$exports,
497
+ "cs-CZ": $07dc24deaaf64ab0$exports,
498
+ "da-DK": $44fd3a75baaf9937$exports,
499
+ "de-DE": $3281990be7bd78f6$exports,
500
+ "el-GR": $242cbd951f3bcfeb$exports,
501
+ "en-US": $117deeeb64547dc7$exports,
502
+ "es-ES": $5b8605d86a9af2ee$exports,
503
+ "et-EE": $5530e5c9f2623025$exports,
504
+ "fi-FI": $7a405d1dfc563131$exports,
505
+ "fr-FR": $e0c3da022513542b$exports,
506
+ "he-IL": $796ff5aed019aee1$exports,
507
+ "hr-HR": $e1066348ea80fd36$exports,
508
+ "hu-HU": $939ac78e6c54d005$exports,
509
+ "it-IT": $087af352bd8a67a5$exports,
510
+ "ja-JP": $ef25b75f84bf9640$exports,
511
+ "ko-KR": $a9fcaa28ab16ac58$exports,
512
+ "lt-LT": $7103396bd37d192c$exports,
513
+ "lv-LV": $da39587a937fb6fd$exports,
514
+ "nb-NO": $fef3c3414d151198$exports,
515
+ "nl-NL": $3cfd427955fee95c$exports,
516
+ "pl-PL": $ecd102793531599a$exports,
517
+ "pt-BR": $70b0a95af4186e29$exports,
518
+ "pt-PT": $4b15e180aed5c52d$exports,
519
+ "ro-RO": $d0ef0a1cef9c2d6c$exports,
520
+ "ru-RU": $58fc1ff371f0c7fd$exports,
521
+ "sk-SK": $b5f65f4e7988d1dd$exports,
522
+ "sl-SI": $5409ad409aeaf678$exports,
523
+ "sr-SP": $43feb38b3d4bbf1f$exports,
524
+ "sv-SE": $cbe41ff823ebe108$exports,
525
+ "tr-TR": $57b680843fcbe09e$exports,
526
+ "uk-UA": $1e4c96bc308e0da2$exports,
527
+ "zh-CN": $18faa55a67dca8f3$exports,
528
+ "zh-TW": $804c64c525579787$exports
529
+ };
530
+
531
+
532
+
533
+
534
+ var $7bd9eeb2cd70bd0c$exports = {};
535
+
536
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "ActionBarContainer", () => $7bd9eeb2cd70bd0c$export$ac2eb07f267e434c, (v) => $7bd9eeb2cd70bd0c$export$ac2eb07f267e434c = v);
537
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "react-spectrum-ActionBar", () => $7bd9eeb2cd70bd0c$export$71a4c2be37bc4ee5, (v) => $7bd9eeb2cd70bd0c$export$71a4c2be37bc4ee5 = v);
538
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "is-open", () => $7bd9eeb2cd70bd0c$export$a9781837241c946d, (v) => $7bd9eeb2cd70bd0c$export$a9781837241c946d = v);
539
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "react-spectrum-ActionBar-bar", () => $7bd9eeb2cd70bd0c$export$ea5a1c79ca7998e9, (v) => $7bd9eeb2cd70bd0c$export$ea5a1c79ca7998e9 = v);
540
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "react-spectrum-ActionBar--emphasized", () => $7bd9eeb2cd70bd0c$export$3377f5e3cddd68a7, (v) => $7bd9eeb2cd70bd0c$export$3377f5e3cddd68a7 = v);
541
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "react-spectrum-ActionBar-selectedCount", () => $7bd9eeb2cd70bd0c$export$8b9fb52122670f9e, (v) => $7bd9eeb2cd70bd0c$export$8b9fb52122670f9e = v);
542
+ $parcel$export($7bd9eeb2cd70bd0c$exports, "react-spectrum-ActionBar-actionGroup", () => $7bd9eeb2cd70bd0c$export$adc2706661946993, (v) => $7bd9eeb2cd70bd0c$export$adc2706661946993 = v);
543
+ var $7bd9eeb2cd70bd0c$export$ac2eb07f267e434c;
544
+ var $7bd9eeb2cd70bd0c$export$71a4c2be37bc4ee5;
545
+ var $7bd9eeb2cd70bd0c$export$a9781837241c946d;
546
+ var $7bd9eeb2cd70bd0c$export$ea5a1c79ca7998e9;
547
+ var $7bd9eeb2cd70bd0c$export$3377f5e3cddd68a7;
548
+ var $7bd9eeb2cd70bd0c$export$8b9fb52122670f9e;
549
+ var $7bd9eeb2cd70bd0c$export$adc2706661946993;
550
+ $7bd9eeb2cd70bd0c$export$ac2eb07f267e434c = "ActionBarContainer_cca088";
551
+ $7bd9eeb2cd70bd0c$export$71a4c2be37bc4ee5 = "react-spectrum-ActionBar_cca088";
552
+ $7bd9eeb2cd70bd0c$export$a9781837241c946d = "is-open_cca088";
553
+ $7bd9eeb2cd70bd0c$export$ea5a1c79ca7998e9 = "react-spectrum-ActionBar-bar_cca088";
554
+ $7bd9eeb2cd70bd0c$export$3377f5e3cddd68a7 = "react-spectrum-ActionBar--emphasized_cca088";
555
+ $7bd9eeb2cd70bd0c$export$8b9fb52122670f9e = "react-spectrum-ActionBar-selectedCount_cca088";
556
+ $7bd9eeb2cd70bd0c$export$adc2706661946993 = "react-spectrum-ActionBar-actionGroup_cca088";
557
+
558
+
559
+
560
+
561
+
562
+
563
+ function $a4e665fbd087d71e$var$ActionBar(props, ref) {
564
+ let isOpen = props.selectedItemCount !== 0;
565
+ let domRef = (0, $N9qJl$useDOMRef)(ref);
566
+ return /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$OpenTransition), {
567
+ nodeRef: domRef,
568
+ in: isOpen,
569
+ mountOnEnter: true,
570
+ unmountOnExit: true
571
+ }, /*#__PURE__*/ (0, $N9qJl$react).createElement($a4e665fbd087d71e$var$ActionBarInnerWithRef, {
572
+ ...props,
573
+ ref: domRef
574
+ }));
575
+ }
576
+ function $a4e665fbd087d71e$var$ActionBarInner(props, ref) {
577
+ props = (0, $N9qJl$useProviderProps)(props);
578
+ let { children: children , isEmphasized: isEmphasized , onAction: onAction , onClearSelection: onClearSelection , selectedItemCount: selectedItemCount , isOpen: isOpen , items: items } = props;
579
+ let { styleProps: styleProps } = (0, $N9qJl$useStyleProps)(props);
580
+ let stringFormatter = (0, $N9qJl$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($992d76e8dd5fee7b$exports))));
581
+ // Store the last count greater than zero in a ref so that we can retain it while rendering the fade-out animation.
582
+ let lastCount = (0, $N9qJl$useRef)(selectedItemCount);
583
+ if (selectedItemCount === "all" || selectedItemCount > 0) lastCount.current = selectedItemCount;
584
+ let { keyboardProps: keyboardProps } = (0, $N9qJl$useKeyboard)({
585
+ onKeyDown (e) {
586
+ if (e.key === "Escape") {
587
+ e.preventDefault();
588
+ onClearSelection();
589
+ }
590
+ }
591
+ });
592
+ // Announce "actions available" on mount.
593
+ (0, $N9qJl$useEffect)(()=>{
594
+ (0, $N9qJl$announce)(stringFormatter.format("actionsAvailable"));
595
+ }, [
596
+ stringFormatter
597
+ ]);
598
+ return /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$FocusScope), {
599
+ restoreFocus: true
600
+ }, /*#__PURE__*/ (0, $N9qJl$react).createElement("div", {
601
+ ...(0, $N9qJl$filterDOMProps)(props),
602
+ ...styleProps,
603
+ ...keyboardProps,
604
+ ref: ref,
605
+ className: (0, $N9qJl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports))), "react-spectrum-ActionBar", {
606
+ "react-spectrum-ActionBar--emphasized": isEmphasized,
607
+ "is-open": isOpen
608
+ }, styleProps.className)
609
+ }, /*#__PURE__*/ (0, $N9qJl$react).createElement("div", {
610
+ className: (0, $N9qJl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports))), "react-spectrum-ActionBar-bar")
611
+ }, /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$ActionGroup), {
612
+ items: items,
613
+ "aria-label": stringFormatter.format("actions"),
614
+ isQuiet: true,
615
+ staticColor: isEmphasized ? "white" : undefined,
616
+ overflowMode: "collapse",
617
+ buttonLabelBehavior: "collapse",
618
+ onAction: onAction,
619
+ UNSAFE_className: (0, $N9qJl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports))), "react-spectrum-ActionBar-actionGroup")
620
+ }, children), /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$ActionButton), {
621
+ gridArea: "clear",
622
+ "aria-label": stringFormatter.format("clearSelection"),
623
+ onPress: ()=>onClearSelection(),
624
+ isQuiet: true,
625
+ staticColor: isEmphasized ? "white" : undefined
626
+ }, /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$spectrumiconsuiCrossLarge), null)), /*#__PURE__*/ (0, $N9qJl$react).createElement((0, $N9qJl$Text), {
627
+ UNSAFE_className: (0, $N9qJl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports))), "react-spectrum-ActionBar-selectedCount")
628
+ }, lastCount.current === "all" ? stringFormatter.format("selectedAll") : stringFormatter.format("selected", {
629
+ count: lastCount.current
630
+ })))));
631
+ }
632
+ const $a4e665fbd087d71e$var$ActionBarInnerWithRef = /*#__PURE__*/ (0, $N9qJl$react).forwardRef($a4e665fbd087d71e$var$ActionBarInner);
633
+ /**
634
+ * Action bars are used for single and bulk selection patterns when a user needs to perform actions on one or more items at the same time.
635
+ */ const $a4e665fbd087d71e$export$e213cebad6250b4a = /*#__PURE__*/ (0, $N9qJl$react).forwardRef($a4e665fbd087d71e$var$ActionBar);
636
+
637
+
638
+ /*
639
+ * Copyright 2020 Adobe. All rights reserved.
640
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
641
+ * you may not use this file except in compliance with the License. You may obtain a copy
642
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
643
+ *
644
+ * Unless required by applicable law or agreed to in writing, software distributed under
645
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
646
+ * OF ANY KIND, either express or implied. See the License for the specific language
647
+ * governing permissions and limitations under the License.
648
+ */
649
+
650
+
651
+
652
+
653
+ function $2f6c8b20aa071c6d$var$ActionBarContainer(props, ref) {
654
+ // Grabs specific props from the closest Provider (see https://react-spectrum.adobe.com/react-spectrum/Provider.html#property-groups). Remove if your component doesn't support any of the listed props.
655
+ props = (0, $N9qJl$useProviderProps)(props);
656
+ let { children: children } = props;
657
+ let { styleProps: styleProps } = (0, $N9qJl$useStyleProps)(props);
658
+ let domRef = (0, $N9qJl$useDOMRef)(ref);
659
+ return /*#__PURE__*/ (0, $N9qJl$react).createElement("div", {
660
+ ...(0, $N9qJl$filterDOMProps)(props),
661
+ ...styleProps,
662
+ ref: domRef,
663
+ className: (0, $N9qJl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7bd9eeb2cd70bd0c$exports))), "ActionBarContainer", styleProps.className)
664
+ }, children);
665
+ }
666
+ /**
667
+ * ActionBarContainer wraps around an ActionBar and a component that supports selection. It handles
668
+ * the ActionBar's position with respect to its linked component.
669
+ */ const $2f6c8b20aa071c6d$export$ac2eb07f267e434c = /*#__PURE__*/ (0, $N9qJl$react).forwardRef($2f6c8b20aa071c6d$var$ActionBarContainer);
670
+
671
+
672
+
673
+
674
+
675
+ export {$a4e665fbd087d71e$export$e213cebad6250b4a as ActionBar, $2f6c8b20aa071c6d$export$ac2eb07f267e434c as ActionBarContainer, $da70baa779e17e7a$re_export$Item as Item};
676
+ //# sourceMappingURL=module.js.map
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- .ActionBarContainer_cca088{flex-direction:column;display:flex;position:relative}.ActionBarContainer_cca088>:not(.react-spectrum-ActionBar_cca088){min-height:0;flex:1}.ActionBarContainer_cca088>.react-spectrum-ActionBar_cca088{flex:none}.react-spectrum-ActionBar_cca088{transition:height var(--spectrum-global-animation-duration-100,130ms)ease-in-out,opacity var(--spectrum-global-animation-duration-100,130ms)ease-in-out;height:0;opacity:0;width:100%;overflow:hidden}.react-spectrum-ActionBar_cca088.is-open_cca088{height:calc(var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-100)*2);opacity:1;transition-delay:0s}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-bar_cca088{display:-ms-grid;-ms-grid-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;grid-template-areas:"clear selected.actiongroup";grid-template-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;isolation:isolate;padding:var(--spectrum-global-dimension-size-100);bottom:var(--spectrum-global-dimension-size-100);left:var(--spectrum-global-dimension-size-100);right:var(--spectrum-global-dimension-size-100);max-width:960px;background:var(--spectrum-global-color-gray-50);border-radius:var(--spectrum-popover-border-radius,var(--spectrum-alias-border-radius-regular));border-style:solid;border-width:var(--spectrum-popover-border-size,var(--spectrum-alias-border-size-thin));border-color:var(--spectrum-popover-border-color,var(--spectrum-alias-border-color-dark));box-shadow:0 2px 8px var(--spectrum-alias-dropshadow-color);transform:translateY(var(--spectrum-overlay-positive-transform-distance));transition:transform var(--spectrum-global-animation-duration-100,130ms)ease-in-out;justify-content:space-between;align-items:center;margin:0 auto;display:grid;position:absolute}.react-spectrum-ActionBar_cca088.is-open_cca088 .react-spectrum-ActionBar-bar_cca088{transform:translateY(0)}.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{background:var(--spectrum-global-color-static-blue-700,#0d66d0);color:#fff;box-shadow:0 2px 6px var(--spectrum-alias-dropshadow-color);border:0}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-selectedCount_cca088{padding:0 var(--spectrum-global-dimension-size-50);-webkit-user-select:none;user-select:none;cursor:default;grid-area:selected}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-actionGroup_cca088{min-width:0;grid-area:actiongroup}@media (forced-colors:active){.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{border:1px solid #0000}}
1
+ .ActionBarContainer_cca088{flex-direction:column;display:flex;position:relative}.ActionBarContainer_cca088>:not(.react-spectrum-ActionBar_cca088){min-height:0;flex:1}.ActionBarContainer_cca088>.react-spectrum-ActionBar_cca088{flex:none}.react-spectrum-ActionBar_cca088{transition:height var(--spectrum-global-animation-duration-100,.13s)ease-in-out,opacity var(--spectrum-global-animation-duration-100,.13s)ease-in-out;height:0;opacity:0;width:100%;overflow:hidden}.react-spectrum-ActionBar_cca088.is-open_cca088{height:calc(var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-100)*2);opacity:1;transition-delay:0s}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-bar_cca088{display:-ms-grid;-ms-grid-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;grid-template-areas:"clear selected.actiongroup";grid-template-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;isolation:isolate;padding:var(--spectrum-global-dimension-size-100);bottom:var(--spectrum-global-dimension-size-100);left:var(--spectrum-global-dimension-size-100);right:var(--spectrum-global-dimension-size-100);max-width:960px;background:var(--spectrum-global-color-gray-50);border-radius:var(--spectrum-popover-border-radius,var(--spectrum-alias-border-radius-regular));border-style:solid;border-width:var(--spectrum-popover-border-size,var(--spectrum-alias-border-size-thin));border-color:var(--spectrum-popover-border-color,var(--spectrum-alias-border-color-dark));box-shadow:0 2px 8px var(--spectrum-alias-dropshadow-color);transform:translateY(var(--spectrum-overlay-positive-transform-distance));transition:transform var(--spectrum-global-animation-duration-100,.13s)ease-in-out;justify-content:space-between;align-items:center;margin:0 auto;display:grid;position:absolute}.react-spectrum-ActionBar_cca088.is-open_cca088 .react-spectrum-ActionBar-bar_cca088{transform:translateY(0)}.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{background:var(--spectrum-global-color-static-blue-700,#0d66d0);color:#fff;box-shadow:0 2px 6px var(--spectrum-alias-dropshadow-color);border:none}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-selectedCount_cca088{padding:0 var(--spectrum-global-dimension-size-50);-webkit-user-select:none;user-select:none;cursor:default;grid-area:selected}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-actionGroup_cca088{min-width:0;grid-area:actiongroup}@media (forced-colors:active){.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{border:1px solid #0000}}