@react-aria/selection 3.0.0-nightly.1394 → 3.0.0-nightly.1409

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
@@ -1,8 +1,8 @@
1
- var $5ZyNq$react = require("react");
2
- var $5ZyNq$reactariafocus = require("@react-aria/focus");
3
- var $5ZyNq$reactariautils = require("@react-aria/utils");
4
- var $5ZyNq$reactariai18n = require("@react-aria/i18n");
5
- var $5ZyNq$reactariainteractions = require("@react-aria/interactions");
1
+ var $hdmtu$react = require("react");
2
+ var $hdmtu$reactariafocus = require("@react-aria/focus");
3
+ var $hdmtu$reactariautils = require("@react-aria/utils");
4
+ var $hdmtu$reactariai18n = require("@react-aria/i18n");
5
+ var $hdmtu$reactariainteractions = require("@react-aria/interactions");
6
6
 
7
7
  function $parcel$exportWildcard(dest, source) {
8
8
  Object.keys(source).forEach(function(key) {
@@ -23,38 +23,38 @@ function $parcel$exportWildcard(dest, source) {
23
23
  function $parcel$export(e, n, v, s) {
24
24
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
25
25
  }
26
- var $7d039047c126afc2$exports = {};
26
+ var $e872cdf6539aaf0b$exports = {};
27
27
 
28
- $parcel$export($7d039047c126afc2$exports, "useSelectableCollection", () => $7d039047c126afc2$export$d6daf82dcd84e87c);
28
+ $parcel$export($e872cdf6539aaf0b$exports, "useSelectableCollection", () => $e872cdf6539aaf0b$export$d6daf82dcd84e87c);
29
29
 
30
30
 
31
31
 
32
32
 
33
33
 
34
- function $fd902048a837f7b5$export$d3e3bd3e26688c04(e) {
34
+ function $d30d99806d0ca680$export$d3e3bd3e26688c04(e) {
35
35
  // Ctrl + Arrow Up/Arrow Down has a system wide meaning on macOS, so use Alt instead.
36
36
  // On Windows and Ubuntu, Alt + Space has a system wide meaning.
37
- return $5ZyNq$reactariautils.isAppleDevice() ? e.altKey : e.ctrlKey;
37
+ return $hdmtu$reactariautils.isAppleDevice() ? e.altKey : e.ctrlKey;
38
38
  }
39
- function $fd902048a837f7b5$export$16792effe837dba3(e) {
40
- if ($5ZyNq$reactariautils.isMac()) return e.metaKey;
39
+ function $d30d99806d0ca680$export$16792effe837dba3(e) {
40
+ if ($hdmtu$reactariautils.isMac()) return e.metaKey;
41
41
  return e.ctrlKey;
42
42
  }
43
43
 
44
44
 
45
45
 
46
- var $f5e34458564766b6$exports = {};
46
+ var $f7ddb42583332a58$exports = {};
47
47
 
48
- $parcel$export($f5e34458564766b6$exports, "useTypeSelect", () => $f5e34458564766b6$export$e32c88dfddc6e1d8);
48
+ $parcel$export($f7ddb42583332a58$exports, "useTypeSelect", () => $f7ddb42583332a58$export$e32c88dfddc6e1d8);
49
49
 
50
- function $f5e34458564766b6$export$e32c88dfddc6e1d8(options) {
50
+ function $f7ddb42583332a58$export$e32c88dfddc6e1d8(options) {
51
51
  let { keyboardDelegate: keyboardDelegate , selectionManager: selectionManager , onTypeSelect: onTypeSelect } = options;
52
- let state = $5ZyNq$react.useRef({
52
+ let state = $hdmtu$react.useRef({
53
53
  search: '',
54
54
  timeout: null
55
55
  }).current;
56
56
  let onKeyDown = (e)=>{
57
- let character = $f5e34458564766b6$var$getStringForKey(e.key);
57
+ let character = $f7ddb42583332a58$var$getStringForKey(e.key);
58
58
  if (!character || e.ctrlKey || e.metaKey) return;
59
59
  // Do not propagate the Spacebar event if it's meant to be part of the search.
60
60
  // When we time out, the search term becomes empty, hence the check on length.
@@ -87,7 +87,7 @@ function $f5e34458564766b6$export$e32c88dfddc6e1d8(options) {
87
87
  }
88
88
  };
89
89
  }
90
- function $f5e34458564766b6$var$getStringForKey(key) {
90
+ function $f7ddb42583332a58$var$getStringForKey(key) {
91
91
  // If the key is of length 1, it is an ASCII value.
92
92
  // Otherwise, if there are no ASCII characters in the key name,
93
93
  // it is a Unicode character.
@@ -97,10 +97,10 @@ function $f5e34458564766b6$var$getStringForKey(key) {
97
97
  }
98
98
 
99
99
 
100
- function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
100
+ function $e872cdf6539aaf0b$export$d6daf82dcd84e87c(options) {
101
101
  let { selectionManager: manager , keyboardDelegate: delegate , ref: ref , autoFocus: autoFocus = false , shouldFocusWrap: shouldFocusWrap = false , disallowEmptySelection: disallowEmptySelection = false , disallowSelectAll: disallowSelectAll = false , selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace' , disallowTypeAhead: disallowTypeAhead = false , shouldUseVirtualFocus: shouldUseVirtualFocus , allowsTabNavigation: allowsTabNavigation = false , isVirtualized: isVirtualized , scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region
102
102
  scrollRef = ref } = options;
103
- let { direction: direction } = $5ZyNq$reactariai18n.useLocale();
103
+ let { direction: direction } = $hdmtu$reactariai18n.useLocale();
104
104
  let onKeyDown = (e)=>{
105
105
  // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes
106
106
  if (e.altKey && e.key === 'Tab') e.preventDefault();
@@ -111,7 +111,7 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
111
111
  if (key != null) {
112
112
  manager.setFocusedKey(key, childFocus);
113
113
  if (e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(key);
114
- else if (selectOnFocus && !$fd902048a837f7b5$export$d3e3bd3e26688c04(e)) manager.replaceSelection(key);
114
+ else if (selectOnFocus && !$d30d99806d0ca680$export$d3e3bd3e26688c04(e)) manager.replaceSelection(key);
115
115
  }
116
116
  };
117
117
  switch(e.key){
@@ -148,18 +148,18 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
148
148
  case 'Home':
149
149
  if (delegate.getFirstKey) {
150
150
  e.preventDefault();
151
- let firstKey = delegate.getFirstKey(manager.focusedKey, $fd902048a837f7b5$export$16792effe837dba3(e));
151
+ let firstKey = delegate.getFirstKey(manager.focusedKey, $d30d99806d0ca680$export$16792effe837dba3(e));
152
152
  manager.setFocusedKey(firstKey);
153
- if ($fd902048a837f7b5$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);
153
+ if ($d30d99806d0ca680$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);
154
154
  else if (selectOnFocus) manager.replaceSelection(firstKey);
155
155
  }
156
156
  break;
157
157
  case 'End':
158
158
  if (delegate.getLastKey) {
159
159
  e.preventDefault();
160
- let lastKey = delegate.getLastKey(manager.focusedKey, $fd902048a837f7b5$export$16792effe837dba3(e));
160
+ let lastKey = delegate.getLastKey(manager.focusedKey, $d30d99806d0ca680$export$16792effe837dba3(e));
161
161
  manager.setFocusedKey(lastKey);
162
- if ($fd902048a837f7b5$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);
162
+ if ($d30d99806d0ca680$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);
163
163
  else if (selectOnFocus) manager.replaceSelection(lastKey);
164
164
  }
165
165
  break;
@@ -178,7 +178,7 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
178
178
  }
179
179
  break;
180
180
  case 'a':
181
- if ($fd902048a837f7b5$export$16792effe837dba3(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {
181
+ if ($d30d99806d0ca680$export$16792effe837dba3(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {
182
182
  e.preventDefault();
183
183
  manager.selectAll();
184
184
  }
@@ -197,7 +197,7 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
197
197
  // rather than the currently focused one.
198
198
  if (e.shiftKey) ref.current.focus();
199
199
  else {
200
- let walker = $5ZyNq$reactariafocus.getFocusableTreeWalker(ref.current, {
200
+ let walker = $hdmtu$reactariafocus.getFocusableTreeWalker(ref.current, {
201
201
  tabbable: true
202
202
  });
203
203
  let next;
@@ -206,18 +206,18 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
206
206
  last = walker.lastChild();
207
207
  if (last) next = last;
208
208
  }while (last)
209
- if (next && !next.contains(document.activeElement)) $5ZyNq$reactariautils.focusWithoutScrolling(next);
209
+ if (next && !next.contains(document.activeElement)) $hdmtu$reactariautils.focusWithoutScrolling(next);
210
210
  }
211
211
  break;
212
212
  }
213
213
  }
214
214
  };
215
215
  // Store the scroll position so we can restore it later.
216
- let scrollPos = $5ZyNq$react.useRef({
216
+ let scrollPos = $hdmtu$react.useRef({
217
217
  top: 0,
218
218
  left: 0
219
219
  });
220
- $5ZyNq$reactariautils.useEvent(scrollRef, 'scroll', isVirtualized ? null : ()=>{
220
+ $hdmtu$reactariautils.useEvent(scrollRef, 'scroll', isVirtualized ? null : ()=>{
221
221
  scrollPos.current = {
222
222
  top: scrollRef.current.scrollTop,
223
223
  left: scrollRef.current.scrollLeft
@@ -253,8 +253,8 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
253
253
  let element = scrollRef.current.querySelector(`[data-key="${manager.focusedKey}"]`);
254
254
  if (element) {
255
255
  // This prevents a flash of focus on the first/last element in the collection
256
- $5ZyNq$reactariautils.focusWithoutScrolling(element);
257
- $5ZyNq$reactariautils.scrollIntoView(scrollRef.current, element);
256
+ $hdmtu$reactariautils.focusWithoutScrolling(element);
257
+ $hdmtu$reactariautils.scrollIntoView(scrollRef.current, element);
258
258
  }
259
259
  }
260
260
  };
@@ -262,8 +262,8 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
262
262
  // Don't set blurred and then focused again if moving focus within the collection.
263
263
  if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);
264
264
  };
265
- const autoFocusRef = $5ZyNq$react.useRef(autoFocus);
266
- $5ZyNq$react.useEffect(()=>{
265
+ const autoFocusRef = $hdmtu$react.useRef(autoFocus);
266
+ $hdmtu$react.useEffect(()=>{
267
267
  if (autoFocusRef.current) {
268
268
  let focusedKey = null;
269
269
  // Check focus strategy to determine which item to focus
@@ -275,17 +275,17 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
275
275
  manager.setFocused(true);
276
276
  manager.setFocusedKey(focusedKey);
277
277
  // If no default focus key is selected, focus the collection itself.
278
- if (focusedKey == null && !shouldUseVirtualFocus) $5ZyNq$reactariafocus.focusSafely(ref.current);
278
+ if (focusedKey == null && !shouldUseVirtualFocus) $hdmtu$reactariafocus.focusSafely(ref.current);
279
279
  }
280
280
  autoFocusRef.current = false;
281
281
  // eslint-disable-next-line react-hooks/exhaustive-deps
282
282
  }, []);
283
283
  // If not virtualized, scroll the focused element into view when the focusedKey changes.
284
284
  // When virtualized, Virtualizer handles this internally.
285
- $5ZyNq$react.useEffect(()=>{
285
+ $hdmtu$react.useEffect(()=>{
286
286
  if (!isVirtualized && manager.focusedKey && scrollRef?.current) {
287
287
  let element = scrollRef.current.querySelector(`[data-key="${manager.focusedKey}"]`);
288
- if (element) $5ZyNq$reactariautils.scrollIntoView(scrollRef.current, element);
288
+ if (element) $hdmtu$reactariautils.scrollIntoView(scrollRef.current, element);
289
289
  }
290
290
  }, [
291
291
  isVirtualized,
@@ -302,11 +302,11 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
302
302
  e.preventDefault();
303
303
  }
304
304
  };
305
- let { typeSelectProps: typeSelectProps } = $f5e34458564766b6$export$e32c88dfddc6e1d8({
305
+ let { typeSelectProps: typeSelectProps } = $f7ddb42583332a58$export$e32c88dfddc6e1d8({
306
306
  keyboardDelegate: delegate,
307
307
  selectionManager: manager
308
308
  });
309
- if (!disallowTypeAhead) handlers = $5ZyNq$reactariautils.mergeProps(typeSelectProps, handlers);
309
+ if (!disallowTypeAhead) handlers = $hdmtu$reactariautils.mergeProps(typeSelectProps, handlers);
310
310
  // If nothing is focused within the collection, make the collection itself tabbable.
311
311
  // This will be marshalled to either the first or last item depending on where focus came from.
312
312
  // If using virtual focus, don't set a tabIndex at all so that VoiceOver on iOS 14 doesn't try
@@ -322,35 +322,35 @@ function $7d039047c126afc2$export$d6daf82dcd84e87c(options) {
322
322
  }
323
323
 
324
324
 
325
- var $3d702eb2dbbd8718$exports = {};
325
+ var $d4f3f6d764be397c$exports = {};
326
326
 
327
- $parcel$export($3d702eb2dbbd8718$exports, "useSelectableItem", () => $3d702eb2dbbd8718$export$ecf600387e221c37);
327
+ $parcel$export($d4f3f6d764be397c$exports, "useSelectableItem", () => $d4f3f6d764be397c$export$ecf600387e221c37);
328
328
 
329
329
 
330
330
 
331
331
 
332
332
 
333
- function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
333
+ function $d4f3f6d764be397c$export$ecf600387e221c37(options) {
334
334
  let { selectionManager: manager , key: key , ref: ref , shouldSelectOnPressUp: shouldSelectOnPressUp , isVirtualized: isVirtualized , shouldUseVirtualFocus: shouldUseVirtualFocus , focus: focus , isDisabled: isDisabled , onAction: onAction } = options;
335
335
  let onSelect = (e)=>{
336
- if (e.pointerType === 'keyboard' && $fd902048a837f7b5$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
336
+ if (e.pointerType === 'keyboard' && $d30d99806d0ca680$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
337
337
  else {
338
338
  if (manager.selectionMode === 'none') return;
339
339
  if (manager.selectionMode === 'single') {
340
340
  if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);
341
341
  else manager.replaceSelection(key);
342
342
  } else if (e && e.shiftKey) manager.extendSelection(key);
343
- else if (manager.selectionBehavior === 'toggle' || e && ($fd902048a837f7b5$export$16792effe837dba3(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys
343
+ else if (manager.selectionBehavior === 'toggle' || e && ($d30d99806d0ca680$export$16792effe837dba3(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys
344
344
  manager.toggleSelection(key);
345
345
  else manager.replaceSelection(key);
346
346
  }
347
347
  };
348
348
  // Focus the associated DOM node when this item becomes the focusedKey
349
349
  let isFocused = key === manager.focusedKey;
350
- $5ZyNq$react.useEffect(()=>{
350
+ $hdmtu$react.useEffect(()=>{
351
351
  if (isFocused && manager.isFocused && !shouldUseVirtualFocus && document.activeElement !== ref.current) {
352
352
  if (focus) focus();
353
- else $5ZyNq$reactariafocus.focusSafely(ref.current);
353
+ else $hdmtu$reactariafocus.focusSafely(ref.current);
354
354
  }
355
355
  }, [
356
356
  ref,
@@ -371,7 +371,7 @@ function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
371
371
  if (e.target === ref.current) manager.setFocusedKey(key);
372
372
  }
373
373
  };
374
- let modality = $5ZyNq$react.useRef(null);
374
+ let modality = $hdmtu$react.useRef(null);
375
375
  let hasPrimaryAction = onAction && manager.selectionMode === 'none';
376
376
  let hasSecondaryAction = onAction && manager.selectionMode !== 'none' && manager.selectionBehavior === 'replace';
377
377
  let allowsSelection = !isDisabled && manager.canSelectItem(key);
@@ -411,7 +411,7 @@ function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
411
411
  }
412
412
  if (!isVirtualized) itemProps['data-key'] = key;
413
413
  itemPressProps.preventFocusOnPress = shouldUseVirtualFocus;
414
- let { pressProps: pressProps , isPressed: isPressed } = $5ZyNq$reactariainteractions.usePress(itemPressProps);
414
+ let { pressProps: pressProps , isPressed: isPressed } = $hdmtu$reactariainteractions.usePress(itemPressProps);
415
415
  // Double clicking with a mouse with selectionBehavior = 'replace' performs an action.
416
416
  let onDoubleClick = hasSecondaryAction ? (e)=>{
417
417
  if (modality.current === 'mouse') {
@@ -424,7 +424,7 @@ function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
424
424
  // to 'toggle'. This changes the single tap behavior from performing an action (i.e. navigating) to
425
425
  // selecting, and may toggle the appearance of a UI affordance like checkboxes on each item.
426
426
  // TODO: what about when drag and drop is also enabled??
427
- let { longPressProps: longPressProps } = $5ZyNq$reactariainteractions.useLongPress({
427
+ let { longPressProps: longPressProps } = $hdmtu$reactariainteractions.useLongPress({
428
428
  isDisabled: !hasSecondaryAction,
429
429
  onLongPress (e) {
430
430
  if (e.pointerType === 'touch') {
@@ -438,7 +438,7 @@ function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
438
438
  if (e.key === 'Enter') onAction();
439
439
  } : undefined;
440
440
  return {
441
- itemProps: $5ZyNq$reactariautils.mergeProps(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {
441
+ itemProps: $hdmtu$reactariautils.mergeProps(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {
442
442
  }, hasSecondaryAction ? longPressProps : {
443
443
  }, {
444
444
  onKeyUp: onKeyUp,
@@ -449,14 +449,14 @@ function $3d702eb2dbbd8718$export$ecf600387e221c37(options) {
449
449
  }
450
450
 
451
451
 
452
- var $b0cf3090db29d409$exports = {};
452
+ var $1908cf9b6ab7b508$exports = {};
453
453
 
454
- $parcel$export($b0cf3090db29d409$exports, "useSelectableList", () => $b0cf3090db29d409$export$b95089534ab7c1fd);
454
+ $parcel$export($1908cf9b6ab7b508$exports, "useSelectableList", () => $1908cf9b6ab7b508$export$b95089534ab7c1fd);
455
455
 
456
- var $358ec2dd450072c1$exports = {};
456
+ var $4c5a6431f43e7e74$exports = {};
457
457
 
458
- $parcel$export($358ec2dd450072c1$exports, "ListKeyboardDelegate", () => $358ec2dd450072c1$export$a05409b8bb224a5a);
459
- class $358ec2dd450072c1$export$a05409b8bb224a5a {
458
+ $parcel$export($4c5a6431f43e7e74$exports, "ListKeyboardDelegate", () => $4c5a6431f43e7e74$export$a05409b8bb224a5a);
459
+ class $4c5a6431f43e7e74$export$a05409b8bb224a5a {
460
460
  constructor(collection, disabledKeys, ref, collator){
461
461
  this.collection = collection;
462
462
  this.disabledKeys = disabledKeys;
@@ -537,15 +537,15 @@ class $358ec2dd450072c1$export$a05409b8bb224a5a {
537
537
 
538
538
 
539
539
 
540
- function $b0cf3090db29d409$export$b95089534ab7c1fd(props) {
540
+ function $1908cf9b6ab7b508$export$b95089534ab7c1fd(props) {
541
541
  let { selectionManager: selectionManager , collection: collection , disabledKeys: disabledKeys , ref: ref , keyboardDelegate: keyboardDelegate , autoFocus: autoFocus , shouldFocusWrap: shouldFocusWrap , isVirtualized: isVirtualized , disallowEmptySelection: disallowEmptySelection , selectOnFocus: selectOnFocus = false , disallowTypeAhead: disallowTypeAhead , shouldUseVirtualFocus: shouldUseVirtualFocus , allowsTabNavigation: allowsTabNavigation } = props;
542
542
  // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
543
543
  // When virtualized, the layout object will be passed in as a prop and override this.
544
- let collator = $5ZyNq$reactariai18n.useCollator({
544
+ let collator = $hdmtu$reactariai18n.useCollator({
545
545
  usage: 'search',
546
546
  sensitivity: 'base'
547
547
  });
548
- let delegate = $5ZyNq$react.useMemo(()=>keyboardDelegate || new $358ec2dd450072c1$export$a05409b8bb224a5a(collection, disabledKeys, ref, collator)
548
+ let delegate = $hdmtu$react.useMemo(()=>keyboardDelegate || new $4c5a6431f43e7e74$export$a05409b8bb224a5a(collection, disabledKeys, ref, collator)
549
549
  , [
550
550
  keyboardDelegate,
551
551
  collection,
@@ -553,7 +553,7 @@ function $b0cf3090db29d409$export$b95089534ab7c1fd(props) {
553
553
  ref,
554
554
  collator
555
555
  ]);
556
- let { collectionProps: collectionProps } = $7d039047c126afc2$export$d6daf82dcd84e87c({
556
+ let { collectionProps: collectionProps } = $e872cdf6539aaf0b$export$d6daf82dcd84e87c({
557
557
  ref: ref,
558
558
  selectionManager: selectionManager,
559
559
  keyboardDelegate: delegate,
@@ -575,11 +575,11 @@ function $b0cf3090db29d409$export$b95089534ab7c1fd(props) {
575
575
 
576
576
 
577
577
 
578
- $parcel$exportWildcard(module.exports, $7d039047c126afc2$exports);
579
- $parcel$exportWildcard(module.exports, $3d702eb2dbbd8718$exports);
580
- $parcel$exportWildcard(module.exports, $b0cf3090db29d409$exports);
581
- $parcel$exportWildcard(module.exports, $358ec2dd450072c1$exports);
582
- $parcel$exportWildcard(module.exports, $f5e34458564766b6$exports);
578
+ $parcel$exportWildcard(module.exports, $e872cdf6539aaf0b$exports);
579
+ $parcel$exportWildcard(module.exports, $d4f3f6d764be397c$exports);
580
+ $parcel$exportWildcard(module.exports, $1908cf9b6ab7b508$exports);
581
+ $parcel$exportWildcard(module.exports, $4c5a6431f43e7e74$exports);
582
+ $parcel$exportWildcard(module.exports, $f7ddb42583332a58$exports);
583
583
 
584
584
 
585
585
  //# sourceMappingURL=main.js.map
package/dist/module.js CHANGED
@@ -1,44 +1,44 @@
1
- import {useRef as $h6hil$useRef, useEffect as $h6hil$useEffect, useMemo as $h6hil$useMemo} from "react";
2
- import {getFocusableTreeWalker as $h6hil$getFocusableTreeWalker, focusSafely as $h6hil$focusSafely} from "@react-aria/focus";
3
- import {focusWithoutScrolling as $h6hil$focusWithoutScrolling, useEvent as $h6hil$useEvent, scrollIntoView as $h6hil$scrollIntoView, mergeProps as $h6hil$mergeProps, isAppleDevice as $h6hil$isAppleDevice, isMac as $h6hil$isMac} from "@react-aria/utils";
4
- import {useLocale as $h6hil$useLocale, useCollator as $h6hil$useCollator} from "@react-aria/i18n";
5
- import {usePress as $h6hil$usePress, useLongPress as $h6hil$useLongPress} from "@react-aria/interactions";
1
+ import {useRef as $1GWK5$useRef, useEffect as $1GWK5$useEffect, useMemo as $1GWK5$useMemo} from "react";
2
+ import {getFocusableTreeWalker as $1GWK5$getFocusableTreeWalker, focusSafely as $1GWK5$focusSafely} from "@react-aria/focus";
3
+ import {focusWithoutScrolling as $1GWK5$focusWithoutScrolling, useEvent as $1GWK5$useEvent, scrollIntoView as $1GWK5$scrollIntoView, mergeProps as $1GWK5$mergeProps, isAppleDevice as $1GWK5$isAppleDevice, isMac as $1GWK5$isMac} from "@react-aria/utils";
4
+ import {useLocale as $1GWK5$useLocale, useCollator as $1GWK5$useCollator} from "@react-aria/i18n";
5
+ import {usePress as $1GWK5$usePress, useLongPress as $1GWK5$useLongPress} from "@react-aria/interactions";
6
6
 
7
7
  function $parcel$export(e, n, v, s) {
8
8
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
9
9
  }
10
- var $2ec77f2ea2af14cd$exports = {};
10
+ var $f2918947066e8d51$exports = {};
11
11
 
12
- $parcel$export($2ec77f2ea2af14cd$exports, "useSelectableCollection", () => $2ec77f2ea2af14cd$export$d6daf82dcd84e87c);
12
+ $parcel$export($f2918947066e8d51$exports, "useSelectableCollection", () => $f2918947066e8d51$export$d6daf82dcd84e87c);
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- function $641b038278c58a1b$export$d3e3bd3e26688c04(e) {
18
+ function $003bf7ca80eac51f$export$d3e3bd3e26688c04(e) {
19
19
  // Ctrl + Arrow Up/Arrow Down has a system wide meaning on macOS, so use Alt instead.
20
20
  // On Windows and Ubuntu, Alt + Space has a system wide meaning.
21
- return $h6hil$isAppleDevice() ? e.altKey : e.ctrlKey;
21
+ return $1GWK5$isAppleDevice() ? e.altKey : e.ctrlKey;
22
22
  }
23
- function $641b038278c58a1b$export$16792effe837dba3(e) {
24
- if ($h6hil$isMac()) return e.metaKey;
23
+ function $003bf7ca80eac51f$export$16792effe837dba3(e) {
24
+ if ($1GWK5$isMac()) return e.metaKey;
25
25
  return e.ctrlKey;
26
26
  }
27
27
 
28
28
 
29
29
 
30
- var $ab1ed1a6ca3e5430$exports = {};
30
+ var $eb39f547daf47539$exports = {};
31
31
 
32
- $parcel$export($ab1ed1a6ca3e5430$exports, "useTypeSelect", () => $ab1ed1a6ca3e5430$export$e32c88dfddc6e1d8);
32
+ $parcel$export($eb39f547daf47539$exports, "useTypeSelect", () => $eb39f547daf47539$export$e32c88dfddc6e1d8);
33
33
 
34
- function $ab1ed1a6ca3e5430$export$e32c88dfddc6e1d8(options) {
34
+ function $eb39f547daf47539$export$e32c88dfddc6e1d8(options) {
35
35
  let { keyboardDelegate: keyboardDelegate , selectionManager: selectionManager , onTypeSelect: onTypeSelect } = options;
36
- let state = $h6hil$useRef({
36
+ let state = $1GWK5$useRef({
37
37
  search: '',
38
38
  timeout: null
39
39
  }).current;
40
40
  let onKeyDown = (e)=>{
41
- let character = $ab1ed1a6ca3e5430$var$getStringForKey(e.key);
41
+ let character = $eb39f547daf47539$var$getStringForKey(e.key);
42
42
  if (!character || e.ctrlKey || e.metaKey) return;
43
43
  // Do not propagate the Spacebar event if it's meant to be part of the search.
44
44
  // When we time out, the search term becomes empty, hence the check on length.
@@ -71,7 +71,7 @@ function $ab1ed1a6ca3e5430$export$e32c88dfddc6e1d8(options) {
71
71
  }
72
72
  };
73
73
  }
74
- function $ab1ed1a6ca3e5430$var$getStringForKey(key) {
74
+ function $eb39f547daf47539$var$getStringForKey(key) {
75
75
  // If the key is of length 1, it is an ASCII value.
76
76
  // Otherwise, if there are no ASCII characters in the key name,
77
77
  // it is a Unicode character.
@@ -81,10 +81,10 @@ function $ab1ed1a6ca3e5430$var$getStringForKey(key) {
81
81
  }
82
82
 
83
83
 
84
- function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
84
+ function $f2918947066e8d51$export$d6daf82dcd84e87c(options) {
85
85
  let { selectionManager: manager , keyboardDelegate: delegate , ref: ref , autoFocus: autoFocus = false , shouldFocusWrap: shouldFocusWrap = false , disallowEmptySelection: disallowEmptySelection = false , disallowSelectAll: disallowSelectAll = false , selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace' , disallowTypeAhead: disallowTypeAhead = false , shouldUseVirtualFocus: shouldUseVirtualFocus , allowsTabNavigation: allowsTabNavigation = false , isVirtualized: isVirtualized , scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region
86
86
  scrollRef = ref } = options;
87
- let { direction: direction } = $h6hil$useLocale();
87
+ let { direction: direction } = $1GWK5$useLocale();
88
88
  let onKeyDown = (e)=>{
89
89
  // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes
90
90
  if (e.altKey && e.key === 'Tab') e.preventDefault();
@@ -95,7 +95,7 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
95
95
  if (key != null) {
96
96
  manager.setFocusedKey(key, childFocus);
97
97
  if (e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(key);
98
- else if (selectOnFocus && !$641b038278c58a1b$export$d3e3bd3e26688c04(e)) manager.replaceSelection(key);
98
+ else if (selectOnFocus && !$003bf7ca80eac51f$export$d3e3bd3e26688c04(e)) manager.replaceSelection(key);
99
99
  }
100
100
  };
101
101
  switch(e.key){
@@ -132,18 +132,18 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
132
132
  case 'Home':
133
133
  if (delegate.getFirstKey) {
134
134
  e.preventDefault();
135
- let firstKey = delegate.getFirstKey(manager.focusedKey, $641b038278c58a1b$export$16792effe837dba3(e));
135
+ let firstKey = delegate.getFirstKey(manager.focusedKey, $003bf7ca80eac51f$export$16792effe837dba3(e));
136
136
  manager.setFocusedKey(firstKey);
137
- if ($641b038278c58a1b$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);
137
+ if ($003bf7ca80eac51f$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);
138
138
  else if (selectOnFocus) manager.replaceSelection(firstKey);
139
139
  }
140
140
  break;
141
141
  case 'End':
142
142
  if (delegate.getLastKey) {
143
143
  e.preventDefault();
144
- let lastKey = delegate.getLastKey(manager.focusedKey, $641b038278c58a1b$export$16792effe837dba3(e));
144
+ let lastKey = delegate.getLastKey(manager.focusedKey, $003bf7ca80eac51f$export$16792effe837dba3(e));
145
145
  manager.setFocusedKey(lastKey);
146
- if ($641b038278c58a1b$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);
146
+ if ($003bf7ca80eac51f$export$16792effe837dba3(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);
147
147
  else if (selectOnFocus) manager.replaceSelection(lastKey);
148
148
  }
149
149
  break;
@@ -162,7 +162,7 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
162
162
  }
163
163
  break;
164
164
  case 'a':
165
- if ($641b038278c58a1b$export$16792effe837dba3(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {
165
+ if ($003bf7ca80eac51f$export$16792effe837dba3(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {
166
166
  e.preventDefault();
167
167
  manager.selectAll();
168
168
  }
@@ -181,7 +181,7 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
181
181
  // rather than the currently focused one.
182
182
  if (e.shiftKey) ref.current.focus();
183
183
  else {
184
- let walker = $h6hil$getFocusableTreeWalker(ref.current, {
184
+ let walker = $1GWK5$getFocusableTreeWalker(ref.current, {
185
185
  tabbable: true
186
186
  });
187
187
  let next;
@@ -190,18 +190,18 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
190
190
  last = walker.lastChild();
191
191
  if (last) next = last;
192
192
  }while (last)
193
- if (next && !next.contains(document.activeElement)) $h6hil$focusWithoutScrolling(next);
193
+ if (next && !next.contains(document.activeElement)) $1GWK5$focusWithoutScrolling(next);
194
194
  }
195
195
  break;
196
196
  }
197
197
  }
198
198
  };
199
199
  // Store the scroll position so we can restore it later.
200
- let scrollPos = $h6hil$useRef({
200
+ let scrollPos = $1GWK5$useRef({
201
201
  top: 0,
202
202
  left: 0
203
203
  });
204
- $h6hil$useEvent(scrollRef, 'scroll', isVirtualized ? null : ()=>{
204
+ $1GWK5$useEvent(scrollRef, 'scroll', isVirtualized ? null : ()=>{
205
205
  scrollPos.current = {
206
206
  top: scrollRef.current.scrollTop,
207
207
  left: scrollRef.current.scrollLeft
@@ -237,8 +237,8 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
237
237
  let element = scrollRef.current.querySelector(`[data-key="${manager.focusedKey}"]`);
238
238
  if (element) {
239
239
  // This prevents a flash of focus on the first/last element in the collection
240
- $h6hil$focusWithoutScrolling(element);
241
- $h6hil$scrollIntoView(scrollRef.current, element);
240
+ $1GWK5$focusWithoutScrolling(element);
241
+ $1GWK5$scrollIntoView(scrollRef.current, element);
242
242
  }
243
243
  }
244
244
  };
@@ -246,8 +246,8 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
246
246
  // Don't set blurred and then focused again if moving focus within the collection.
247
247
  if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);
248
248
  };
249
- const autoFocusRef = $h6hil$useRef(autoFocus);
250
- $h6hil$useEffect(()=>{
249
+ const autoFocusRef = $1GWK5$useRef(autoFocus);
250
+ $1GWK5$useEffect(()=>{
251
251
  if (autoFocusRef.current) {
252
252
  let focusedKey = null;
253
253
  // Check focus strategy to determine which item to focus
@@ -259,17 +259,17 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
259
259
  manager.setFocused(true);
260
260
  manager.setFocusedKey(focusedKey);
261
261
  // If no default focus key is selected, focus the collection itself.
262
- if (focusedKey == null && !shouldUseVirtualFocus) $h6hil$focusSafely(ref.current);
262
+ if (focusedKey == null && !shouldUseVirtualFocus) $1GWK5$focusSafely(ref.current);
263
263
  }
264
264
  autoFocusRef.current = false;
265
265
  // eslint-disable-next-line react-hooks/exhaustive-deps
266
266
  }, []);
267
267
  // If not virtualized, scroll the focused element into view when the focusedKey changes.
268
268
  // When virtualized, Virtualizer handles this internally.
269
- $h6hil$useEffect(()=>{
269
+ $1GWK5$useEffect(()=>{
270
270
  if (!isVirtualized && manager.focusedKey && scrollRef?.current) {
271
271
  let element = scrollRef.current.querySelector(`[data-key="${manager.focusedKey}"]`);
272
- if (element) $h6hil$scrollIntoView(scrollRef.current, element);
272
+ if (element) $1GWK5$scrollIntoView(scrollRef.current, element);
273
273
  }
274
274
  }, [
275
275
  isVirtualized,
@@ -286,11 +286,11 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
286
286
  e.preventDefault();
287
287
  }
288
288
  };
289
- let { typeSelectProps: typeSelectProps } = $ab1ed1a6ca3e5430$export$e32c88dfddc6e1d8({
289
+ let { typeSelectProps: typeSelectProps } = $eb39f547daf47539$export$e32c88dfddc6e1d8({
290
290
  keyboardDelegate: delegate,
291
291
  selectionManager: manager
292
292
  });
293
- if (!disallowTypeAhead) handlers = $h6hil$mergeProps(typeSelectProps, handlers);
293
+ if (!disallowTypeAhead) handlers = $1GWK5$mergeProps(typeSelectProps, handlers);
294
294
  // If nothing is focused within the collection, make the collection itself tabbable.
295
295
  // This will be marshalled to either the first or last item depending on where focus came from.
296
296
  // If using virtual focus, don't set a tabIndex at all so that VoiceOver on iOS 14 doesn't try
@@ -306,35 +306,35 @@ function $2ec77f2ea2af14cd$export$d6daf82dcd84e87c(options) {
306
306
  }
307
307
 
308
308
 
309
- var $f995494943666201$exports = {};
309
+ var $28b3f01514e02622$exports = {};
310
310
 
311
- $parcel$export($f995494943666201$exports, "useSelectableItem", () => $f995494943666201$export$ecf600387e221c37);
311
+ $parcel$export($28b3f01514e02622$exports, "useSelectableItem", () => $28b3f01514e02622$export$ecf600387e221c37);
312
312
 
313
313
 
314
314
 
315
315
 
316
316
 
317
- function $f995494943666201$export$ecf600387e221c37(options) {
317
+ function $28b3f01514e02622$export$ecf600387e221c37(options) {
318
318
  let { selectionManager: manager , key: key , ref: ref , shouldSelectOnPressUp: shouldSelectOnPressUp , isVirtualized: isVirtualized , shouldUseVirtualFocus: shouldUseVirtualFocus , focus: focus , isDisabled: isDisabled , onAction: onAction } = options;
319
319
  let onSelect = (e)=>{
320
- if (e.pointerType === 'keyboard' && $641b038278c58a1b$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
320
+ if (e.pointerType === 'keyboard' && $003bf7ca80eac51f$export$d3e3bd3e26688c04(e)) manager.toggleSelection(key);
321
321
  else {
322
322
  if (manager.selectionMode === 'none') return;
323
323
  if (manager.selectionMode === 'single') {
324
324
  if (manager.isSelected(key) && !manager.disallowEmptySelection) manager.toggleSelection(key);
325
325
  else manager.replaceSelection(key);
326
326
  } else if (e && e.shiftKey) manager.extendSelection(key);
327
- else if (manager.selectionBehavior === 'toggle' || e && ($641b038278c58a1b$export$16792effe837dba3(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys
327
+ else if (manager.selectionBehavior === 'toggle' || e && ($003bf7ca80eac51f$export$16792effe837dba3(e) || e.pointerType === 'touch' || e.pointerType === 'virtual')) // if touch or virtual (VO) then we just want to toggle, otherwise it's impossible to multi select because they don't have modifier keys
328
328
  manager.toggleSelection(key);
329
329
  else manager.replaceSelection(key);
330
330
  }
331
331
  };
332
332
  // Focus the associated DOM node when this item becomes the focusedKey
333
333
  let isFocused = key === manager.focusedKey;
334
- $h6hil$useEffect(()=>{
334
+ $1GWK5$useEffect(()=>{
335
335
  if (isFocused && manager.isFocused && !shouldUseVirtualFocus && document.activeElement !== ref.current) {
336
336
  if (focus) focus();
337
- else $h6hil$focusSafely(ref.current);
337
+ else $1GWK5$focusSafely(ref.current);
338
338
  }
339
339
  }, [
340
340
  ref,
@@ -355,7 +355,7 @@ function $f995494943666201$export$ecf600387e221c37(options) {
355
355
  if (e.target === ref.current) manager.setFocusedKey(key);
356
356
  }
357
357
  };
358
- let modality = $h6hil$useRef(null);
358
+ let modality = $1GWK5$useRef(null);
359
359
  let hasPrimaryAction = onAction && manager.selectionMode === 'none';
360
360
  let hasSecondaryAction = onAction && manager.selectionMode !== 'none' && manager.selectionBehavior === 'replace';
361
361
  let allowsSelection = !isDisabled && manager.canSelectItem(key);
@@ -395,7 +395,7 @@ function $f995494943666201$export$ecf600387e221c37(options) {
395
395
  }
396
396
  if (!isVirtualized) itemProps['data-key'] = key;
397
397
  itemPressProps.preventFocusOnPress = shouldUseVirtualFocus;
398
- let { pressProps: pressProps , isPressed: isPressed } = $h6hil$usePress(itemPressProps);
398
+ let { pressProps: pressProps , isPressed: isPressed } = $1GWK5$usePress(itemPressProps);
399
399
  // Double clicking with a mouse with selectionBehavior = 'replace' performs an action.
400
400
  let onDoubleClick = hasSecondaryAction ? (e)=>{
401
401
  if (modality.current === 'mouse') {
@@ -408,7 +408,7 @@ function $f995494943666201$export$ecf600387e221c37(options) {
408
408
  // to 'toggle'. This changes the single tap behavior from performing an action (i.e. navigating) to
409
409
  // selecting, and may toggle the appearance of a UI affordance like checkboxes on each item.
410
410
  // TODO: what about when drag and drop is also enabled??
411
- let { longPressProps: longPressProps } = $h6hil$useLongPress({
411
+ let { longPressProps: longPressProps } = $1GWK5$useLongPress({
412
412
  isDisabled: !hasSecondaryAction,
413
413
  onLongPress (e) {
414
414
  if (e.pointerType === 'touch') {
@@ -422,7 +422,7 @@ function $f995494943666201$export$ecf600387e221c37(options) {
422
422
  if (e.key === 'Enter') onAction();
423
423
  } : undefined;
424
424
  return {
425
- itemProps: $h6hil$mergeProps(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {
425
+ itemProps: $1GWK5$mergeProps(itemProps, allowsSelection || hasPrimaryAction ? pressProps : {
426
426
  }, hasSecondaryAction ? longPressProps : {
427
427
  }, {
428
428
  onKeyUp: onKeyUp,
@@ -433,14 +433,14 @@ function $f995494943666201$export$ecf600387e221c37(options) {
433
433
  }
434
434
 
435
435
 
436
- var $1a299772000846d4$exports = {};
436
+ var $95210d28646fd635$exports = {};
437
437
 
438
- $parcel$export($1a299772000846d4$exports, "useSelectableList", () => $1a299772000846d4$export$b95089534ab7c1fd);
438
+ $parcel$export($95210d28646fd635$exports, "useSelectableList", () => $95210d28646fd635$export$b95089534ab7c1fd);
439
439
 
440
- var $0300334dbb5ca2e8$exports = {};
440
+ var $57c17da9c35ecb23$exports = {};
441
441
 
442
- $parcel$export($0300334dbb5ca2e8$exports, "ListKeyboardDelegate", () => $0300334dbb5ca2e8$export$a05409b8bb224a5a);
443
- class $0300334dbb5ca2e8$export$a05409b8bb224a5a {
442
+ $parcel$export($57c17da9c35ecb23$exports, "ListKeyboardDelegate", () => $57c17da9c35ecb23$export$a05409b8bb224a5a);
443
+ class $57c17da9c35ecb23$export$a05409b8bb224a5a {
444
444
  constructor(collection, disabledKeys, ref, collator){
445
445
  this.collection = collection;
446
446
  this.disabledKeys = disabledKeys;
@@ -521,15 +521,15 @@ class $0300334dbb5ca2e8$export$a05409b8bb224a5a {
521
521
 
522
522
 
523
523
 
524
- function $1a299772000846d4$export$b95089534ab7c1fd(props) {
524
+ function $95210d28646fd635$export$b95089534ab7c1fd(props) {
525
525
  let { selectionManager: selectionManager , collection: collection , disabledKeys: disabledKeys , ref: ref , keyboardDelegate: keyboardDelegate , autoFocus: autoFocus , shouldFocusWrap: shouldFocusWrap , isVirtualized: isVirtualized , disallowEmptySelection: disallowEmptySelection , selectOnFocus: selectOnFocus = false , disallowTypeAhead: disallowTypeAhead , shouldUseVirtualFocus: shouldUseVirtualFocus , allowsTabNavigation: allowsTabNavigation } = props;
526
526
  // By default, a KeyboardDelegate is provided which uses the DOM to query layout information (e.g. for page up/page down).
527
527
  // When virtualized, the layout object will be passed in as a prop and override this.
528
- let collator = $h6hil$useCollator({
528
+ let collator = $1GWK5$useCollator({
529
529
  usage: 'search',
530
530
  sensitivity: 'base'
531
531
  });
532
- let delegate = $h6hil$useMemo(()=>keyboardDelegate || new $0300334dbb5ca2e8$export$a05409b8bb224a5a(collection, disabledKeys, ref, collator)
532
+ let delegate = $1GWK5$useMemo(()=>keyboardDelegate || new $57c17da9c35ecb23$export$a05409b8bb224a5a(collection, disabledKeys, ref, collator)
533
533
  , [
534
534
  keyboardDelegate,
535
535
  collection,
@@ -537,7 +537,7 @@ function $1a299772000846d4$export$b95089534ab7c1fd(props) {
537
537
  ref,
538
538
  collator
539
539
  ]);
540
- let { collectionProps: collectionProps } = $2ec77f2ea2af14cd$export$d6daf82dcd84e87c({
540
+ let { collectionProps: collectionProps } = $f2918947066e8d51$export$d6daf82dcd84e87c({
541
541
  ref: ref,
542
542
  selectionManager: selectionManager,
543
543
  keyboardDelegate: delegate,
@@ -561,5 +561,5 @@ function $1a299772000846d4$export$b95089534ab7c1fd(props) {
561
561
 
562
562
 
563
563
 
564
- export {$2ec77f2ea2af14cd$export$d6daf82dcd84e87c as useSelectableCollection, $f995494943666201$export$ecf600387e221c37 as useSelectableItem, $1a299772000846d4$export$b95089534ab7c1fd as useSelectableList, $0300334dbb5ca2e8$export$a05409b8bb224a5a as ListKeyboardDelegate, $ab1ed1a6ca3e5430$export$e32c88dfddc6e1d8 as useTypeSelect};
564
+ export {$f2918947066e8d51$export$d6daf82dcd84e87c as useSelectableCollection, $28b3f01514e02622$export$ecf600387e221c37 as useSelectableItem, $95210d28646fd635$export$b95089534ab7c1fd as useSelectableList, $57c17da9c35ecb23$export$a05409b8bb224a5a as ListKeyboardDelegate, $eb39f547daf47539$export$e32c88dfddc6e1d8 as useTypeSelect};
565
565
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/selection",
3
- "version": "3.0.0-nightly.1394+dfe72ee07",
3
+ "version": "3.0.0-nightly.1409+da2aa7467",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@babel/runtime": "^7.6.2",
21
- "@react-aria/focus": "3.0.0-nightly.1394+dfe72ee07",
22
- "@react-aria/i18n": "3.0.0-nightly.1394+dfe72ee07",
23
- "@react-aria/interactions": "3.0.0-nightly.1394+dfe72ee07",
24
- "@react-aria/utils": "3.0.0-nightly.1394+dfe72ee07",
25
- "@react-stately/collections": "3.0.0-nightly.1394+dfe72ee07",
26
- "@react-stately/selection": "3.0.0-nightly.1394+dfe72ee07",
27
- "@react-types/shared": "3.0.0-nightly.1394+dfe72ee07"
21
+ "@react-aria/focus": "3.0.0-nightly.1409+da2aa7467",
22
+ "@react-aria/i18n": "3.0.0-nightly.1409+da2aa7467",
23
+ "@react-aria/interactions": "3.0.0-nightly.1409+da2aa7467",
24
+ "@react-aria/utils": "3.0.0-nightly.1409+da2aa7467",
25
+ "@react-stately/collections": "3.0.0-nightly.1409+da2aa7467",
26
+ "@react-stately/selection": "3.0.0-nightly.1409+da2aa7467",
27
+ "@react-types/shared": "3.0.0-nightly.1409+da2aa7467"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^16.8.0 || ^17.0.0-rc.1"
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "dfe72ee076f7ca27728d0b6b4c1ef86e11191ece"
35
+ "gitHead": "da2aa74670fbd93335ff01401ca53826b3602777"
36
36
  }