@react-aria/utils 3.12.0 → 3.13.2
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 +45 -143
- package/dist/main.js.map +1 -1
- package/dist/module.js +13 -109
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/filterDOMProps.ts +1 -2
- package/src/focusWithoutScrolling.ts +4 -2
- package/src/index.ts +24 -25
- package/src/platform.ts +1 -1
- package/src/useDescription.ts +1 -1
- package/src/useId.ts +8 -16
- package/src/useResizeObserver.ts +2 -2
- package/src/number.ts +0 -13
package/dist/main.js
CHANGED
|
@@ -1,39 +1,50 @@
|
|
|
1
|
+
var $1Yh1N$reactstatelyutils = require("@react-stately/utils");
|
|
1
2
|
var $1Yh1N$react = require("react");
|
|
2
3
|
var $1Yh1N$reactariassr = require("@react-aria/ssr");
|
|
3
4
|
var $1Yh1N$clsx = require("clsx");
|
|
4
|
-
var $1Yh1N$reactstatelyutils = require("@react-stately/utils");
|
|
5
|
-
|
|
6
|
-
function $parcel$exportWildcard(dest, source) {
|
|
7
|
-
Object.keys(source).forEach(function(key) {
|
|
8
|
-
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(dest, key, {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return source[key];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
5
|
|
|
20
|
-
return dest;
|
|
21
|
-
}
|
|
22
6
|
function $parcel$export(e, n, v, s) {
|
|
23
7
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
24
8
|
}
|
|
25
9
|
function $parcel$interopDefault(a) {
|
|
26
10
|
return a && a.__esModule ? a.default : a;
|
|
27
11
|
}
|
|
28
|
-
var $8c61827343eed941$exports = {};
|
|
29
|
-
|
|
30
|
-
$parcel$export($8c61827343eed941$exports, "useId", () => $8c61827343eed941$export$f680877a34711e37);
|
|
31
|
-
$parcel$export($8c61827343eed941$exports, "mergeIds", () => $8c61827343eed941$export$cd8c9cb68f842629);
|
|
32
|
-
$parcel$export($8c61827343eed941$exports, "useSlotId", () => $8c61827343eed941$export$b4cc09c592e8fdb8);
|
|
33
12
|
|
|
34
|
-
|
|
13
|
+
$parcel$export(module.exports, "useId", () => $8c61827343eed941$export$f680877a34711e37);
|
|
14
|
+
$parcel$export(module.exports, "mergeIds", () => $8c61827343eed941$export$cd8c9cb68f842629);
|
|
15
|
+
$parcel$export(module.exports, "useSlotId", () => $8c61827343eed941$export$b4cc09c592e8fdb8);
|
|
16
|
+
$parcel$export(module.exports, "chain", () => $1e2191638e54f613$export$e08e3b67e392101e);
|
|
17
|
+
$parcel$export(module.exports, "mergeProps", () => $f847cd1382ea7cd4$export$9d1611c77c2fe928);
|
|
18
|
+
$parcel$export(module.exports, "mergeRefs", () => $f05dc24eafaeb7e2$export$c9058316764c140e);
|
|
19
|
+
$parcel$export(module.exports, "filterDOMProps", () => $8d15d0e1797d4238$export$457c3d6518dd4c6f);
|
|
20
|
+
$parcel$export(module.exports, "focusWithoutScrolling", () => $1117b6c0d4c4c164$export$de79e2c695e052f3);
|
|
21
|
+
$parcel$export(module.exports, "getOffset", () => $16ec41ef3e36c19c$export$622cea445a1c5b7d);
|
|
22
|
+
$parcel$export(module.exports, "runAfterTransition", () => $e8117ebcab55be6a$export$24490316f764c430);
|
|
23
|
+
$parcel$export(module.exports, "useDrag1D", () => $28ed3fb20343b78b$export$7bbed75feba39706);
|
|
24
|
+
$parcel$export(module.exports, "useGlobalListeners", () => $4571ff54ac709100$export$4eaf04e54aa8eed6);
|
|
25
|
+
$parcel$export(module.exports, "useLabels", () => $6ec78bde395c477d$export$d6875122194c7b44);
|
|
26
|
+
$parcel$export(module.exports, "useObjectRef", () => $475b35fe72ba49b3$export$4338b53315abf666);
|
|
27
|
+
$parcel$export(module.exports, "useUpdateEffect", () => $29293a6f5c75b37e$export$496315a1608d9602);
|
|
28
|
+
$parcel$export(module.exports, "useLayoutEffect", () => $78605a5d7424e31b$export$e5c5a5f917a5871c);
|
|
29
|
+
$parcel$export(module.exports, "useResizeObserver", () => $37733e1652f47193$export$683480f191c0e3ea);
|
|
30
|
+
$parcel$export(module.exports, "useSyncRef", () => $6fc733991a9f977c$export$4debdb1a3f0fa79e);
|
|
31
|
+
$parcel$export(module.exports, "getScrollParent", () => $d796e7157ac96470$export$cfa2225e87938781);
|
|
32
|
+
$parcel$export(module.exports, "useViewportSize", () => $8b24bab62f5c65ad$export$d699905dd57c73ca);
|
|
33
|
+
$parcel$export(module.exports, "useDescription", () => $34da4502ea8120db$export$f8aeda7b10753fa1);
|
|
34
|
+
$parcel$export(module.exports, "isMac", () => $9e20cff0af27e8cc$export$9ac100e40613ea10);
|
|
35
|
+
$parcel$export(module.exports, "isIPhone", () => $9e20cff0af27e8cc$export$186c6964ca17d99);
|
|
36
|
+
$parcel$export(module.exports, "isIPad", () => $9e20cff0af27e8cc$export$7bef049ce92e4224);
|
|
37
|
+
$parcel$export(module.exports, "isIOS", () => $9e20cff0af27e8cc$export$fedb369cb70207f1);
|
|
38
|
+
$parcel$export(module.exports, "isAppleDevice", () => $9e20cff0af27e8cc$export$e1865c3bedcd822b);
|
|
39
|
+
$parcel$export(module.exports, "isWebKit", () => $9e20cff0af27e8cc$export$78551043582a6a98);
|
|
40
|
+
$parcel$export(module.exports, "isChrome", () => $9e20cff0af27e8cc$export$6446a186d09e379e);
|
|
41
|
+
$parcel$export(module.exports, "isAndroid", () => $9e20cff0af27e8cc$export$a11b0059900ceec8);
|
|
42
|
+
$parcel$export(module.exports, "useEvent", () => $2a8c0bb1629926c8$export$90fc3a17d93f704c);
|
|
43
|
+
$parcel$export(module.exports, "useValueEffect", () => $19a2307bfabafaf1$export$14d238f342723f25);
|
|
44
|
+
$parcel$export(module.exports, "scrollIntoView", () => $449412113267a1fe$export$53a0910f038337bd);
|
|
45
|
+
$parcel$export(module.exports, "clamp", () => $1Yh1N$reactstatelyutils.clamp);
|
|
46
|
+
$parcel$export(module.exports, "snapValueToStep", () => $1Yh1N$reactstatelyutils.snapValueToStep);
|
|
35
47
|
|
|
36
|
-
$parcel$export($78605a5d7424e31b$exports, "useLayoutEffect", () => $78605a5d7424e31b$export$e5c5a5f917a5871c);
|
|
37
48
|
|
|
38
49
|
const $78605a5d7424e31b$export$e5c5a5f917a5871c = typeof window !== 'undefined' ? ($parcel$interopDefault($1Yh1N$react)).useLayoutEffect : ()=>{
|
|
39
50
|
};
|
|
@@ -43,22 +54,13 @@ const $78605a5d7424e31b$export$e5c5a5f917a5871c = typeof window !== 'undefined'
|
|
|
43
54
|
|
|
44
55
|
let $8c61827343eed941$var$idsUpdaterMap = new Map();
|
|
45
56
|
function $8c61827343eed941$export$f680877a34711e37(defaultId) {
|
|
46
|
-
let isRendering = $1Yh1N$react.useRef(true);
|
|
47
|
-
isRendering.current = true;
|
|
48
57
|
let [value, setValue] = $1Yh1N$react.useState(defaultId);
|
|
49
58
|
let nextId = $1Yh1N$react.useRef(null);
|
|
50
59
|
let res = $1Yh1N$reactariassr.useSSRSafeId(value);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
else nextId.current = val;
|
|
55
|
-
};
|
|
60
|
+
let updateValue = $1Yh1N$react.useCallback((val)=>{
|
|
61
|
+
nextId.current = val;
|
|
62
|
+
}, []);
|
|
56
63
|
$8c61827343eed941$var$idsUpdaterMap.set(res, updateValue);
|
|
57
|
-
$78605a5d7424e31b$export$e5c5a5f917a5871c(()=>{
|
|
58
|
-
isRendering.current = false;
|
|
59
|
-
}, [
|
|
60
|
-
updateValue
|
|
61
|
-
]);
|
|
62
64
|
$78605a5d7424e31b$export$e5c5a5f917a5871c(()=>{
|
|
63
65
|
let r = res;
|
|
64
66
|
return ()=>{
|
|
@@ -67,16 +69,15 @@ function $8c61827343eed941$export$f680877a34711e37(defaultId) {
|
|
|
67
69
|
}, [
|
|
68
70
|
res
|
|
69
71
|
]);
|
|
72
|
+
// This cannot cause an infinite loop because the ref is updated first.
|
|
73
|
+
// eslint-disable-next-line
|
|
70
74
|
$1Yh1N$react.useEffect(()=>{
|
|
71
75
|
let newId = nextId.current;
|
|
72
76
|
if (newId) {
|
|
73
|
-
setValue(newId);
|
|
74
77
|
nextId.current = null;
|
|
78
|
+
setValue(newId);
|
|
75
79
|
}
|
|
76
|
-
}
|
|
77
|
-
setValue,
|
|
78
|
-
updateValue
|
|
79
|
-
]);
|
|
80
|
+
});
|
|
80
81
|
return res;
|
|
81
82
|
}
|
|
82
83
|
function $8c61827343eed941$export$cd8c9cb68f842629(idA, idB) {
|
|
@@ -114,9 +115,6 @@ function $8c61827343eed941$export$b4cc09c592e8fdb8(depArray = []) {
|
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
|
|
117
|
-
var $1e2191638e54f613$exports = {};
|
|
118
|
-
|
|
119
|
-
$parcel$export($1e2191638e54f613$exports, "chain", () => $1e2191638e54f613$export$e08e3b67e392101e);
|
|
120
118
|
function $1e2191638e54f613$export$e08e3b67e392101e(...callbacks) {
|
|
121
119
|
return (...args)=>{
|
|
122
120
|
for (let callback of callbacks)if (typeof callback === 'function') callback(...args);
|
|
@@ -124,9 +122,6 @@ function $1e2191638e54f613$export$e08e3b67e392101e(...callbacks) {
|
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
|
|
127
|
-
var $f847cd1382ea7cd4$exports = {};
|
|
128
|
-
|
|
129
|
-
$parcel$export($f847cd1382ea7cd4$exports, "mergeProps", () => $f847cd1382ea7cd4$export$9d1611c77c2fe928);
|
|
130
125
|
|
|
131
126
|
|
|
132
127
|
|
|
@@ -153,9 +148,6 @@ function $f847cd1382ea7cd4$export$9d1611c77c2fe928(...args) {
|
|
|
153
148
|
}
|
|
154
149
|
|
|
155
150
|
|
|
156
|
-
var $f05dc24eafaeb7e2$exports = {};
|
|
157
|
-
|
|
158
|
-
$parcel$export($f05dc24eafaeb7e2$exports, "mergeRefs", () => $f05dc24eafaeb7e2$export$c9058316764c140e);
|
|
159
151
|
function $f05dc24eafaeb7e2$export$c9058316764c140e(...refs) {
|
|
160
152
|
return (value)=>{
|
|
161
153
|
for (let ref of refs){
|
|
@@ -166,9 +158,6 @@ function $f05dc24eafaeb7e2$export$c9058316764c140e(...refs) {
|
|
|
166
158
|
}
|
|
167
159
|
|
|
168
160
|
|
|
169
|
-
var $8d15d0e1797d4238$exports = {};
|
|
170
|
-
|
|
171
|
-
$parcel$export($8d15d0e1797d4238$exports, "filterDOMProps", () => $8d15d0e1797d4238$export$457c3d6518dd4c6f);
|
|
172
161
|
const $8d15d0e1797d4238$var$DOMPropNames = new Set([
|
|
173
162
|
'id'
|
|
174
163
|
]);
|
|
@@ -189,9 +178,6 @@ function $8d15d0e1797d4238$export$457c3d6518dd4c6f(props, opts = {
|
|
|
189
178
|
}
|
|
190
179
|
|
|
191
180
|
|
|
192
|
-
var $1117b6c0d4c4c164$exports = {};
|
|
193
|
-
|
|
194
|
-
$parcel$export($1117b6c0d4c4c164$exports, "focusWithoutScrolling", () => $1117b6c0d4c4c164$export$de79e2c695e052f3);
|
|
195
181
|
function $1117b6c0d4c4c164$export$de79e2c695e052f3(element) {
|
|
196
182
|
if ($1117b6c0d4c4c164$var$supportsPreventScroll()) element.focus({
|
|
197
183
|
preventScroll: true
|
|
@@ -247,9 +233,6 @@ function $1117b6c0d4c4c164$var$restoreScrollPosition(scrollableElements) {
|
|
|
247
233
|
}
|
|
248
234
|
|
|
249
235
|
|
|
250
|
-
var $16ec41ef3e36c19c$exports = {};
|
|
251
|
-
|
|
252
|
-
$parcel$export($16ec41ef3e36c19c$exports, "getOffset", () => $16ec41ef3e36c19c$export$622cea445a1c5b7d);
|
|
253
236
|
function $16ec41ef3e36c19c$export$622cea445a1c5b7d(element, reverse, orientation = 'horizontal') {
|
|
254
237
|
let rect = element.getBoundingClientRect();
|
|
255
238
|
if (reverse) return orientation === 'horizontal' ? rect.right : rect.bottom;
|
|
@@ -257,16 +240,6 @@ function $16ec41ef3e36c19c$export$622cea445a1c5b7d(element, reverse, orientation
|
|
|
257
240
|
}
|
|
258
241
|
|
|
259
242
|
|
|
260
|
-
var $eb1d06911309900e$exports = {};
|
|
261
|
-
|
|
262
|
-
$parcel$export($eb1d06911309900e$exports, "clamp", () => $1Yh1N$reactstatelyutils.clamp);
|
|
263
|
-
$parcel$export($eb1d06911309900e$exports, "snapValueToStep", () => $1Yh1N$reactstatelyutils.snapValueToStep);
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
var $e8117ebcab55be6a$exports = {};
|
|
268
|
-
|
|
269
|
-
$parcel$export($e8117ebcab55be6a$exports, "runAfterTransition", () => $e8117ebcab55be6a$export$24490316f764c430);
|
|
270
243
|
/*
|
|
271
244
|
* Copyright 2020 Adobe. All rights reserved.
|
|
272
245
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -335,9 +308,6 @@ function $e8117ebcab55be6a$export$24490316f764c430(fn) {
|
|
|
335
308
|
}
|
|
336
309
|
|
|
337
310
|
|
|
338
|
-
var $28ed3fb20343b78b$exports = {};
|
|
339
|
-
|
|
340
|
-
$parcel$export($28ed3fb20343b78b$exports, "useDrag1D", () => $28ed3fb20343b78b$export$7bbed75feba39706);
|
|
341
311
|
|
|
342
312
|
|
|
343
313
|
// Keep track of elements that we are currently handling dragging for via useDrag1D.
|
|
@@ -459,9 +429,6 @@ function $28ed3fb20343b78b$export$7bbed75feba39706(props) {
|
|
|
459
429
|
}
|
|
460
430
|
|
|
461
431
|
|
|
462
|
-
var $4571ff54ac709100$exports = {};
|
|
463
|
-
|
|
464
|
-
$parcel$export($4571ff54ac709100$exports, "useGlobalListeners", () => $4571ff54ac709100$export$4eaf04e54aa8eed6);
|
|
465
432
|
|
|
466
433
|
function $4571ff54ac709100$export$4eaf04e54aa8eed6() {
|
|
467
434
|
let globalListeners = $1Yh1N$react.useRef(new Map());
|
|
@@ -506,9 +473,6 @@ function $4571ff54ac709100$export$4eaf04e54aa8eed6() {
|
|
|
506
473
|
}
|
|
507
474
|
|
|
508
475
|
|
|
509
|
-
var $6ec78bde395c477d$exports = {};
|
|
510
|
-
|
|
511
|
-
$parcel$export($6ec78bde395c477d$exports, "useLabels", () => $6ec78bde395c477d$export$d6875122194c7b44);
|
|
512
476
|
|
|
513
477
|
function $6ec78bde395c477d$export$d6875122194c7b44(props, defaultLabel) {
|
|
514
478
|
let { id: id , 'aria-label': label , 'aria-labelledby': labelledBy } = props;
|
|
@@ -534,9 +498,6 @@ function $6ec78bde395c477d$export$d6875122194c7b44(props, defaultLabel) {
|
|
|
534
498
|
}
|
|
535
499
|
|
|
536
500
|
|
|
537
|
-
var $475b35fe72ba49b3$exports = {};
|
|
538
|
-
|
|
539
|
-
$parcel$export($475b35fe72ba49b3$exports, "useObjectRef", () => $475b35fe72ba49b3$export$4338b53315abf666);
|
|
540
501
|
|
|
541
502
|
|
|
542
503
|
function $475b35fe72ba49b3$export$4338b53315abf666(forwardedRef) {
|
|
@@ -556,9 +517,6 @@ function $475b35fe72ba49b3$export$4338b53315abf666(forwardedRef) {
|
|
|
556
517
|
}
|
|
557
518
|
|
|
558
519
|
|
|
559
|
-
var $29293a6f5c75b37e$exports = {};
|
|
560
|
-
|
|
561
|
-
$parcel$export($29293a6f5c75b37e$exports, "useUpdateEffect", () => $29293a6f5c75b37e$export$496315a1608d9602);
|
|
562
520
|
|
|
563
521
|
function $29293a6f5c75b37e$export$496315a1608d9602(effect, dependencies) {
|
|
564
522
|
const isInitialMount = $1Yh1N$react.useRef(true);
|
|
@@ -571,9 +529,6 @@ function $29293a6f5c75b37e$export$496315a1608d9602(effect, dependencies) {
|
|
|
571
529
|
|
|
572
530
|
|
|
573
531
|
|
|
574
|
-
var $37733e1652f47193$exports = {};
|
|
575
|
-
|
|
576
|
-
$parcel$export($37733e1652f47193$exports, "useResizeObserver", () => $37733e1652f47193$export$683480f191c0e3ea);
|
|
577
532
|
|
|
578
533
|
function $37733e1652f47193$var$hasResizeObserver() {
|
|
579
534
|
return typeof window.ResizeObserver !== 'undefined';
|
|
@@ -605,9 +560,6 @@ function $37733e1652f47193$export$683480f191c0e3ea(options) {
|
|
|
605
560
|
}
|
|
606
561
|
|
|
607
562
|
|
|
608
|
-
var $6fc733991a9f977c$exports = {};
|
|
609
|
-
|
|
610
|
-
$parcel$export($6fc733991a9f977c$exports, "useSyncRef", () => $6fc733991a9f977c$export$4debdb1a3f0fa79e);
|
|
611
563
|
|
|
612
564
|
function $6fc733991a9f977c$export$4debdb1a3f0fa79e(context, ref) {
|
|
613
565
|
$78605a5d7424e31b$export$e5c5a5f917a5871c(()=>{
|
|
@@ -624,9 +576,6 @@ function $6fc733991a9f977c$export$4debdb1a3f0fa79e(context, ref) {
|
|
|
624
576
|
}
|
|
625
577
|
|
|
626
578
|
|
|
627
|
-
var $d796e7157ac96470$exports = {};
|
|
628
|
-
|
|
629
|
-
$parcel$export($d796e7157ac96470$exports, "getScrollParent", () => $d796e7157ac96470$export$cfa2225e87938781);
|
|
630
579
|
function $d796e7157ac96470$export$cfa2225e87938781(node) {
|
|
631
580
|
while(node && !$d796e7157ac96470$var$isScrollable(node))node = node.parentElement;
|
|
632
581
|
return node || document.scrollingElement || document.documentElement;
|
|
@@ -637,9 +586,6 @@ function $d796e7157ac96470$var$isScrollable(node) {
|
|
|
637
586
|
}
|
|
638
587
|
|
|
639
588
|
|
|
640
|
-
var $8b24bab62f5c65ad$exports = {};
|
|
641
|
-
|
|
642
|
-
$parcel$export($8b24bab62f5c65ad$exports, "useViewportSize", () => $8b24bab62f5c65ad$export$d699905dd57c73ca);
|
|
643
589
|
|
|
644
590
|
// @ts-ignore
|
|
645
591
|
let $8b24bab62f5c65ad$var$visualViewport = typeof window !== 'undefined' && window.visualViewport;
|
|
@@ -672,9 +618,6 @@ function $8b24bab62f5c65ad$var$getViewportSize() {
|
|
|
672
618
|
}
|
|
673
619
|
|
|
674
620
|
|
|
675
|
-
var $34da4502ea8120db$exports = {};
|
|
676
|
-
|
|
677
|
-
$parcel$export($34da4502ea8120db$exports, "useDescription", () => $34da4502ea8120db$export$f8aeda7b10753fa1);
|
|
678
621
|
|
|
679
622
|
|
|
680
623
|
let $34da4502ea8120db$var$descriptionId = 0;
|
|
@@ -714,16 +657,6 @@ function $34da4502ea8120db$export$f8aeda7b10753fa1(description) {
|
|
|
714
657
|
}
|
|
715
658
|
|
|
716
659
|
|
|
717
|
-
var $9e20cff0af27e8cc$exports = {};
|
|
718
|
-
|
|
719
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isMac", () => $9e20cff0af27e8cc$export$9ac100e40613ea10);
|
|
720
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isIPhone", () => $9e20cff0af27e8cc$export$186c6964ca17d99);
|
|
721
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isIPad", () => $9e20cff0af27e8cc$export$7bef049ce92e4224);
|
|
722
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isIOS", () => $9e20cff0af27e8cc$export$fedb369cb70207f1);
|
|
723
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isAppleDevice", () => $9e20cff0af27e8cc$export$e1865c3bedcd822b);
|
|
724
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isWebKit", () => $9e20cff0af27e8cc$export$78551043582a6a98);
|
|
725
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isChrome", () => $9e20cff0af27e8cc$export$6446a186d09e379e);
|
|
726
|
-
$parcel$export($9e20cff0af27e8cc$exports, "isAndroid", () => $9e20cff0af27e8cc$export$a11b0059900ceec8);
|
|
727
660
|
/*
|
|
728
661
|
* Copyright 2020 Adobe. All rights reserved.
|
|
729
662
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -741,7 +674,8 @@ $parcel$export($9e20cff0af27e8cc$exports, "isAndroid", () => $9e20cff0af27e8cc$e
|
|
|
741
674
|
)) || re.test(window.navigator.userAgent);
|
|
742
675
|
}
|
|
743
676
|
function $9e20cff0af27e8cc$var$testPlatform(re) {
|
|
744
|
-
|
|
677
|
+
var ref;
|
|
678
|
+
return typeof window !== 'undefined' && window.navigator != null ? re.test(((ref = window.navigator['userAgentData']) === null || ref === void 0 ? void 0 : ref.platform) || window.navigator.platform) : false;
|
|
745
679
|
}
|
|
746
680
|
function $9e20cff0af27e8cc$export$9ac100e40613ea10() {
|
|
747
681
|
return $9e20cff0af27e8cc$var$testPlatform(/^Mac/i);
|
|
@@ -769,9 +703,6 @@ function $9e20cff0af27e8cc$export$a11b0059900ceec8() {
|
|
|
769
703
|
}
|
|
770
704
|
|
|
771
705
|
|
|
772
|
-
var $2a8c0bb1629926c8$exports = {};
|
|
773
|
-
|
|
774
|
-
$parcel$export($2a8c0bb1629926c8$exports, "useEvent", () => $2a8c0bb1629926c8$export$90fc3a17d93f704c);
|
|
775
706
|
|
|
776
707
|
function $2a8c0bb1629926c8$export$90fc3a17d93f704c(ref, event, handler1, options) {
|
|
777
708
|
let handlerRef = $1Yh1N$react.useRef(handler1);
|
|
@@ -795,9 +726,6 @@ function $2a8c0bb1629926c8$export$90fc3a17d93f704c(ref, event, handler1, options
|
|
|
795
726
|
}
|
|
796
727
|
|
|
797
728
|
|
|
798
|
-
var $19a2307bfabafaf1$exports = {};
|
|
799
|
-
|
|
800
|
-
$parcel$export($19a2307bfabafaf1$exports, "useValueEffect", () => $19a2307bfabafaf1$export$14d238f342723f25);
|
|
801
729
|
|
|
802
730
|
|
|
803
731
|
function $19a2307bfabafaf1$export$14d238f342723f25(defaultValue) {
|
|
@@ -840,9 +768,6 @@ function $19a2307bfabafaf1$export$14d238f342723f25(defaultValue) {
|
|
|
840
768
|
}
|
|
841
769
|
|
|
842
770
|
|
|
843
|
-
var $449412113267a1fe$exports = {};
|
|
844
|
-
|
|
845
|
-
$parcel$export($449412113267a1fe$exports, "scrollIntoView", () => $449412113267a1fe$export$53a0910f038337bd);
|
|
846
771
|
function $449412113267a1fe$export$53a0910f038337bd(scrollView, element) {
|
|
847
772
|
let offsetX = $449412113267a1fe$var$relativeOffset(scrollView, element, 'left');
|
|
848
773
|
let offsetY = $449412113267a1fe$var$relativeOffset(scrollView, element, 'top');
|
|
@@ -881,30 +806,7 @@ function $449412113267a1fe$export$53a0910f038337bd(scrollView, element) {
|
|
|
881
806
|
}
|
|
882
807
|
|
|
883
808
|
|
|
884
|
-
|
|
885
|
-
$parcel$exportWildcard(module.exports, $1e2191638e54f613$exports);
|
|
886
|
-
$parcel$exportWildcard(module.exports, $f847cd1382ea7cd4$exports);
|
|
887
|
-
$parcel$exportWildcard(module.exports, $f05dc24eafaeb7e2$exports);
|
|
888
|
-
$parcel$exportWildcard(module.exports, $8d15d0e1797d4238$exports);
|
|
889
|
-
$parcel$exportWildcard(module.exports, $1117b6c0d4c4c164$exports);
|
|
890
|
-
$parcel$exportWildcard(module.exports, $16ec41ef3e36c19c$exports);
|
|
891
|
-
$parcel$exportWildcard(module.exports, $eb1d06911309900e$exports);
|
|
892
|
-
$parcel$exportWildcard(module.exports, $e8117ebcab55be6a$exports);
|
|
893
|
-
$parcel$exportWildcard(module.exports, $28ed3fb20343b78b$exports);
|
|
894
|
-
$parcel$exportWildcard(module.exports, $4571ff54ac709100$exports);
|
|
895
|
-
$parcel$exportWildcard(module.exports, $6ec78bde395c477d$exports);
|
|
896
|
-
$parcel$exportWildcard(module.exports, $475b35fe72ba49b3$exports);
|
|
897
|
-
$parcel$exportWildcard(module.exports, $29293a6f5c75b37e$exports);
|
|
898
|
-
$parcel$exportWildcard(module.exports, $78605a5d7424e31b$exports);
|
|
899
|
-
$parcel$exportWildcard(module.exports, $37733e1652f47193$exports);
|
|
900
|
-
$parcel$exportWildcard(module.exports, $6fc733991a9f977c$exports);
|
|
901
|
-
$parcel$exportWildcard(module.exports, $d796e7157ac96470$exports);
|
|
902
|
-
$parcel$exportWildcard(module.exports, $8b24bab62f5c65ad$exports);
|
|
903
|
-
$parcel$exportWildcard(module.exports, $34da4502ea8120db$exports);
|
|
904
|
-
$parcel$exportWildcard(module.exports, $9e20cff0af27e8cc$exports);
|
|
905
|
-
$parcel$exportWildcard(module.exports, $2a8c0bb1629926c8$exports);
|
|
906
|
-
$parcel$exportWildcard(module.exports, $19a2307bfabafaf1$exports);
|
|
907
|
-
$parcel$exportWildcard(module.exports, $449412113267a1fe$exports);
|
|
809
|
+
|
|
908
810
|
|
|
909
811
|
|
|
910
812
|
//# sourceMappingURL=main.js.map
|