@react-spectrum/card 3.0.0-alpha.24 → 3.0.0-alpha.26

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 CHANGED
@@ -15,9 +15,11 @@ var $jpY3B$reactariainteractions = require("@react-aria/interactions");
15
15
  var $jpY3B$reactstatelyvirtualizer = require("@react-stately/virtualizer");
16
16
  var $jpY3B$reactstatelycollections = require("@react-stately/collections");
17
17
 
18
+
18
19
  function $parcel$export(e, n, v, s) {
19
20
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
20
21
  }
22
+
21
23
  function $parcel$interopDefault(a) {
22
24
  return a && a.__esModule ? a.default : a;
23
25
  }
@@ -203,9 +205,7 @@ function $7888205ff7de382f$var$CardBase(props, ref) {
203
205
  let key = item === null || item === void 0 ? void 0 : item.key;
204
206
  let isSelected = manager === null || manager === void 0 ? void 0 : manager.isSelected(key);
205
207
  let isDisabled = state === null || state === void 0 ? void 0 : state.disabledKeys.has(key);
206
- let onChange = ()=>{
207
- return manager === null || manager === void 0 ? void 0 : manager.select(key);
208
- };
208
+ let onChange = ()=>manager === null || manager === void 0 ? void 0 : manager.select(key);
209
209
  let { styleProps: styleProps } = (0, $jpY3B$reactspectrumutils.useStyleProps)(props);
210
210
  let { cardProps: cardProps, titleProps: titleProps, contentProps: contentProps } = $7888205ff7de382f$var$useCard(props);
211
211
  let domRef = (0, $jpY3B$reactspectrumutils.useDOMRef)(ref);
@@ -366,29 +366,29 @@ function $7888205ff7de382f$var$useCard(props) {
366
366
  var $85c597beff94758b$exports = {};
367
367
  var $b0d49dbc72f937a2$exports = {};
368
368
  $b0d49dbc72f937a2$exports = {
369
- "loading": `جارٍ التحميل...`,
370
- "loadingMore": `جارٍ تحميل المزيد...`
369
+ "loading": `\u{62C}\u{627}\u{631}\u{64D} \u{627}\u{644}\u{62A}\u{62D}\u{645}\u{64A}\u{644}...`,
370
+ "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}...`
371
371
  };
372
372
 
373
373
 
374
374
  var $ce0dd82398fba411$exports = {};
375
375
  $ce0dd82398fba411$exports = {
376
- "loading": `Зареждане...`,
377
- "loadingMore": `Зареждане на още...`
376
+ "loading": `\u{417}\u{430}\u{440}\u{435}\u{436}\u{434}\u{430}\u{43D}\u{435}...`,
377
+ "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}...`
378
378
  };
379
379
 
380
380
 
381
381
  var $1086444b40892e5d$exports = {};
382
382
  $1086444b40892e5d$exports = {
383
- "loading": `Načítání...`,
384
- "loadingMore": `Načítání dalších...`
383
+ "loading": `Na\u{10D}\xedt\xe1n\xed...`,
384
+ "loadingMore": `Na\u{10D}\xedt\xe1n\xed dal\u{161}\xedch...`
385
385
  };
386
386
 
387
387
 
388
388
  var $26f9bd87c0446842$exports = {};
389
389
  $26f9bd87c0446842$exports = {
390
- "loading": `Indlæser...`,
391
- "loadingMore": `Indlæser flere...`
390
+ "loading": `Indl\xe6ser...`,
391
+ "loadingMore": `Indl\xe6ser flere...`
392
392
  };
393
393
 
394
394
 
@@ -401,22 +401,22 @@ $5922ace8d8eedc34$exports = {
401
401
 
402
402
  var $0dff680a5aaa08a6$exports = {};
403
403
  $0dff680a5aaa08a6$exports = {
404
- "loading": `Φόρτωση...`,
405
- "loadingMore": `Φόρτωση περισσότερων...`
404
+ "loading": `\u{3A6}\u{3CC}\u{3C1}\u{3C4}\u{3C9}\u{3C3}\u{3B7}...`,
405
+ "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}...`
406
406
  };
407
407
 
408
408
 
409
409
  var $40f72ebe96160fe5$exports = {};
410
410
  $40f72ebe96160fe5$exports = {
411
- "loading": `Loading…`,
412
- "loadingMore": `Loading more…`
411
+ "loading": `Loading\u{2026}`,
412
+ "loadingMore": `Loading more\u{2026}`
413
413
  };
414
414
 
415
415
 
416
416
  var $fd3d037364cca31d$exports = {};
417
417
  $fd3d037364cca31d$exports = {
418
- "loading": `Cargando…`,
419
- "loadingMore": `Cargando más…`
418
+ "loading": `Cargando\u{2026}`,
419
+ "loadingMore": `Cargando m\xe1s\u{2026}`
420
420
  };
421
421
 
422
422
 
@@ -429,36 +429,36 @@ $aeb59a17c296301b$exports = {
429
429
 
430
430
  var $8725562d6e87d608$exports = {};
431
431
  $8725562d6e87d608$exports = {
432
- "loading": `Ladataan…`,
433
- "loadingMore": `Ladataan lisää…`
432
+ "loading": `Ladataan\u{2026}`,
433
+ "loadingMore": `Ladataan lis\xe4\xe4\u{2026}`
434
434
  };
435
435
 
436
436
 
437
437
  var $5b8a7cd61bd67f0d$exports = {};
438
438
  $5b8a7cd61bd67f0d$exports = {
439
- "loading": `Chargement en cours…`,
440
- "loadingMore": `Chargement dautres d’éléments…`
439
+ "loading": `Chargement en cours\u{2026}`,
440
+ "loadingMore": `Chargement d\u{2019}autres d\u{2019}\xe9l\xe9ments\u{2026}`
441
441
  };
442
442
 
443
443
 
444
444
  var $904fdf1c66b8e1ae$exports = {};
445
445
  $904fdf1c66b8e1ae$exports = {
446
- "loading": `טוען...`,
447
- "loadingMore": `טוען עוד...`
446
+ "loading": `\u{5D8}\u{5D5}\u{5E2}\u{5DF}...`,
447
+ "loadingMore": `\u{5D8}\u{5D5}\u{5E2}\u{5DF} \u{5E2}\u{5D5}\u{5D3}...`
448
448
  };
449
449
 
450
450
 
451
451
  var $e321e496e49645f3$exports = {};
452
452
  $e321e496e49645f3$exports = {
453
- "loading": `Učitavam...`,
454
- "loadingMore": `Učitavam još...`
453
+ "loading": `U\u{10D}itavam...`,
454
+ "loadingMore": `U\u{10D}itavam jo\u{161}...`
455
455
  };
456
456
 
457
457
 
458
458
  var $5fb9f79f322fc149$exports = {};
459
459
  $5fb9f79f322fc149$exports = {
460
- "loading": `Betöltés folyamatban…`,
461
- "loadingMore": `Továbbiak betöltése folyamatban…`
460
+ "loading": `Bet\xf6lt\xe9s folyamatban\u{2026}`,
461
+ "loadingMore": `Tov\xe1bbiak bet\xf6lt\xe9se folyamatban\u{2026}`
462
462
  };
463
463
 
464
464
 
@@ -471,29 +471,29 @@ $87d8922713b63bdb$exports = {
471
471
 
472
472
  var $57201e032f548603$exports = {};
473
473
  $57201e032f548603$exports = {
474
- "loading": `読み込み中...`,
475
- "loadingMore": `さらに読み込み中...`
474
+ "loading": `\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`,
475
+ "loadingMore": `\u{3055}\u{3089}\u{306B}\u{8AAD}\u{307F}\u{8FBC}\u{307F}\u{4E2D}...`
476
476
  };
477
477
 
478
478
 
479
479
  var $74aa6884e1ef4030$exports = {};
480
480
  $74aa6884e1ef4030$exports = {
481
- "loading": `로드 중…`,
482
- "loadingMore": `추가 로드 중…`
481
+ "loading": `\u{B85C}\u{B4DC} \u{C911}\u{2026}`,
482
+ "loadingMore": `\u{CD94}\u{AC00} \u{B85C}\u{B4DC} \u{C911}\u{2026}`
483
483
  };
484
484
 
485
485
 
486
486
  var $50cefda6a03c058b$exports = {};
487
487
  $50cefda6a03c058b$exports = {
488
- "loading": keliama…`,
489
- "loadingMore": keliama daugiau…`
488
+ "loading": `\u{12E}keliama\u{2026}`,
489
+ "loadingMore": `\u{12E}keliama daugiau\u{2026}`
490
490
  };
491
491
 
492
492
 
493
493
  var $3d08f75b6bbe5354$exports = {};
494
494
  $3d08f75b6bbe5354$exports = {
495
- "loading": `Notiek ielāde…`,
496
- "loadingMore": `Tiek ielādēts vēl...`
495
+ "loading": `Notiek iel\u{101}de\u{2026}`,
496
+ "loadingMore": `Tiek iel\u{101}d\u{113}ts v\u{113}l...`
497
497
  };
498
498
 
499
499
 
@@ -514,7 +514,7 @@ $d81bf728da4b1c33$exports = {
514
514
  var $f323a42ea1486c2f$exports = {};
515
515
  $f323a42ea1486c2f$exports = {
516
516
  "loading": `Wczytywanie...`,
517
- "loadingMore": `Wczytywanie większej liczby...`
517
+ "loadingMore": `Wczytywanie wi\u{119}kszej liczby...`
518
518
  };
519
519
 
520
520
 
@@ -534,22 +534,22 @@ $156cd72030936350$exports = {
534
534
 
535
535
  var $5964cf64325251a3$exports = {};
536
536
  $5964cf64325251a3$exports = {
537
- "loading": `Se încarcă...`,
538
- "loadingMore": `Se încarcă mai multe...`
537
+ "loading": `Se \xeencarc\u{103}...`,
538
+ "loadingMore": `Se \xeencarc\u{103} mai multe...`
539
539
  };
540
540
 
541
541
 
542
542
  var $71b3c908be47dc7e$exports = {};
543
543
  $71b3c908be47dc7e$exports = {
544
- "loading": `Загрузка...`,
545
- "loadingMore": `Дополнительная загрузка...`
544
+ "loading": `\u{417}\u{430}\u{433}\u{440}\u{443}\u{437}\u{43A}\u{430}...`,
545
+ "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}...`
546
546
  };
547
547
 
548
548
 
549
549
  var $815155759d865560$exports = {};
550
550
  $815155759d865560$exports = {
551
- "loading": `Načítava sa...`,
552
- "loadingMore": `Načítava sa viac...`
551
+ "loading": `Na\u{10D}\xedtava sa...`,
552
+ "loadingMore": `Na\u{10D}\xedtava sa viac...`
553
553
  };
554
554
 
555
555
 
@@ -562,43 +562,43 @@ $d5deb2faae807da5$exports = {
562
562
 
563
563
  var $42e52cb34b81b4af$exports = {};
564
564
  $42e52cb34b81b4af$exports = {
565
- "loading": `Učitavam...`,
566
- "loadingMore": `Učitavam još...`
565
+ "loading": `U\u{10D}itavam...`,
566
+ "loadingMore": `U\u{10D}itavam jo\u{161}...`
567
567
  };
568
568
 
569
569
 
570
570
  var $f278e5fd270ba60f$exports = {};
571
571
  $f278e5fd270ba60f$exports = {
572
- "loading": `Läser in...`,
573
- "loadingMore": `Läser in mer...`
572
+ "loading": `L\xe4ser in...`,
573
+ "loadingMore": `L\xe4ser in mer...`
574
574
  };
575
575
 
576
576
 
577
577
  var $523e0ad61eab5c5d$exports = {};
578
578
  $523e0ad61eab5c5d$exports = {
579
- "loading": `Yükleniyor...`,
580
- "loadingMore": `Daha fazla yükleniyor...`
579
+ "loading": `Y\xfckleniyor...`,
580
+ "loadingMore": `Daha fazla y\xfckleniyor...`
581
581
  };
582
582
 
583
583
 
584
584
  var $a58cff5745fe89a6$exports = {};
585
585
  $a58cff5745fe89a6$exports = {
586
- "loading": `Завантаження…`,
587
- "loadingMore": `Завантаження інших об’єктів...`
586
+ "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}`,
587
+ "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}...`
588
588
  };
589
589
 
590
590
 
591
591
  var $2c1c50c48e046fcb$exports = {};
592
592
  $2c1c50c48e046fcb$exports = {
593
- "loading": `正在加载...`,
594
- "loadingMore": `正在加载更多...`
593
+ "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
594
+ "loadingMore": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}\u{66F4}\u{591A}...`
595
595
  };
596
596
 
597
597
 
598
598
  var $d20ec5c21f83badd$exports = {};
599
599
  $d20ec5c21f83badd$exports = {
600
- "loading": `正在載入…`,
601
- "loadingMore": `正在載入更多…`
600
+ "loading": `\u{6B63}\u{5728}\u{8F09}\u{5165}\u{2026}`,
601
+ "loadingMore": `\u{6B63}\u{5728}\u{8F09}\u{5165}\u{66F4}\u{591A}\u{2026}`
602
602
  };
603
603
 
604
604
 
@@ -712,14 +712,12 @@ function $514a55f6d91f25ef$var$CardView(props, ref) {
712
712
  isVirtualized: true,
713
713
  keyboardDelegate: cardViewLayout
714
714
  }, state, domRef);
715
- let renderWrapper = (parent, reusableView)=>{
716
- /*#__PURE__*/ return (0, ($parcel$interopDefault($jpY3B$react))).createElement((0, $jpY3B$reactariavirtualizer.VirtualizerItem), {
715
+ let renderWrapper = (parent, reusableView)=>/*#__PURE__*/ (0, ($parcel$interopDefault($jpY3B$react))).createElement((0, $jpY3B$reactariavirtualizer.VirtualizerItem), {
717
716
  key: reusableView.key,
718
717
  layoutInfo: reusableView.layoutInfo,
719
718
  virtualizer: reusableView.virtualizer,
720
719
  parent: parent === null || parent === void 0 ? void 0 : parent.layoutInfo
721
720
  }, reusableView.rendered);
722
- };
723
721
  let focusedKey = state.selectionManager.focusedKey;
724
722
  let focusedItem = gridCollection.getItem(state.selectionManager.focusedKey);
725
723
  if ((focusedItem === null || focusedItem === void 0 ? void 0 : focusedItem.parentKey) != null) focusedKey = focusedItem.parentKey;