@react-aria/utils 3.26.0 → 3.27.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.
- package/dist/animation.main.js +97 -0
- package/dist/animation.main.js.map +1 -0
- package/dist/animation.mjs +91 -0
- package/dist/animation.module.js +91 -0
- package/dist/animation.module.js.map +1 -0
- package/dist/constants.main.js +25 -0
- package/dist/constants.main.js.map +1 -0
- package/dist/constants.mjs +18 -0
- package/dist/constants.module.js +18 -0
- package/dist/constants.module.js.map +1 -0
- package/dist/import.mjs +9 -1
- package/dist/keyboard.main.js +26 -0
- package/dist/keyboard.main.js.map +1 -0
- package/dist/keyboard.mjs +21 -0
- package/dist/keyboard.module.js +21 -0
- package/dist/keyboard.module.js.map +1 -0
- package/dist/main.js +15 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +9 -1
- package/dist/module.js.map +1 -1
- package/dist/scrollIntoView.main.js +14 -8
- package/dist/scrollIntoView.main.js.map +1 -1
- package/dist/scrollIntoView.mjs +14 -8
- package/dist/scrollIntoView.module.js +14 -8
- package/dist/scrollIntoView.module.js.map +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/useGlobalListeners.main.js +1 -1
- package/dist/useGlobalListeners.main.js.map +1 -1
- package/dist/useGlobalListeners.mjs +1 -1
- package/dist/useGlobalListeners.module.js +1 -1
- package/dist/useGlobalListeners.module.js.map +1 -1
- package/dist/useUpdateLayoutEffect.main.js +40 -0
- package/dist/useUpdateLayoutEffect.main.js.map +1 -0
- package/dist/useUpdateLayoutEffect.mjs +35 -0
- package/dist/useUpdateLayoutEffect.module.js +35 -0
- package/dist/useUpdateLayoutEffect.module.js.map +1 -0
- package/package.json +5 -4
- package/src/animation.ts +103 -0
- package/src/constants.ts +16 -0
- package/src/index.ts +4 -0
- package/src/keyboard.tsx +27 -0
- package/src/scrollIntoView.ts +28 -12
- package/src/useGlobalListeners.ts +1 -1
- package/src/useUpdateLayoutEffect.ts +37 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
var $78605a5d7424e31b$exports = require("./useLayoutEffect.main.js");
|
|
2
|
+
var $bsryd$reactdom = require("react-dom");
|
|
3
|
+
var $bsryd$react = require("react");
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function $parcel$export(e, n, v, s) {
|
|
7
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$parcel$export(module.exports, "useEnterAnimation", () => $5bd06107f98811f5$export$6d3443f2c48bfc20);
|
|
11
|
+
$parcel$export(module.exports, "useExitAnimation", () => $5bd06107f98811f5$export$45fda7c47f93fd48);
|
|
12
|
+
/*
|
|
13
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
14
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
15
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
16
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
19
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
20
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
21
|
+
* governing permissions and limitations under the License.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
function $5bd06107f98811f5$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
26
|
+
let [isEntering, setEntering] = (0, $bsryd$react.useState)(true);
|
|
27
|
+
let isAnimationReady = isEntering && isReady;
|
|
28
|
+
// There are two cases for entry animations:
|
|
29
|
+
// 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.
|
|
30
|
+
// 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.
|
|
31
|
+
//
|
|
32
|
+
// In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).
|
|
33
|
+
// This can happen when isReady starts as false (e.g. popovers prior to placement calculation).
|
|
34
|
+
(0, $78605a5d7424e31b$exports.useLayoutEffect)(()=>{
|
|
35
|
+
if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {
|
|
36
|
+
for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();
|
|
37
|
+
}
|
|
38
|
+
}, [
|
|
39
|
+
ref,
|
|
40
|
+
isAnimationReady
|
|
41
|
+
]);
|
|
42
|
+
$5bd06107f98811f5$var$useAnimation(ref, isAnimationReady, (0, $bsryd$react.useCallback)(()=>setEntering(false), []));
|
|
43
|
+
return isAnimationReady;
|
|
44
|
+
}
|
|
45
|
+
function $5bd06107f98811f5$export$45fda7c47f93fd48(ref, isOpen) {
|
|
46
|
+
let [exitState, setExitState] = (0, $bsryd$react.useState)(isOpen ? 'open' : 'closed');
|
|
47
|
+
switch(exitState){
|
|
48
|
+
case 'open':
|
|
49
|
+
// If isOpen becomes false, set the state to exiting.
|
|
50
|
+
if (!isOpen) setExitState('exiting');
|
|
51
|
+
break;
|
|
52
|
+
case 'closed':
|
|
53
|
+
case 'exiting':
|
|
54
|
+
// If we are exiting and isOpen becomes true, the animation was interrupted.
|
|
55
|
+
// Reset the state to open.
|
|
56
|
+
if (isOpen) setExitState('open');
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
let isExiting = exitState === 'exiting';
|
|
60
|
+
$5bd06107f98811f5$var$useAnimation(ref, isExiting, (0, $bsryd$react.useCallback)(()=>{
|
|
61
|
+
// Set the state to closed, which will cause the element to be unmounted.
|
|
62
|
+
setExitState((state)=>state === 'exiting' ? 'closed' : state);
|
|
63
|
+
}, []));
|
|
64
|
+
return isExiting;
|
|
65
|
+
}
|
|
66
|
+
function $5bd06107f98811f5$var$useAnimation(ref, isActive, onEnd) {
|
|
67
|
+
(0, $78605a5d7424e31b$exports.useLayoutEffect)(()=>{
|
|
68
|
+
if (isActive && ref.current) {
|
|
69
|
+
if (!('getAnimations' in ref.current)) {
|
|
70
|
+
// JSDOM
|
|
71
|
+
onEnd();
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
let animations = ref.current.getAnimations();
|
|
75
|
+
if (animations.length === 0) {
|
|
76
|
+
onEnd();
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
let canceled = false;
|
|
80
|
+
Promise.all(animations.map((a)=>a.finished)).then(()=>{
|
|
81
|
+
if (!canceled) (0, $bsryd$reactdom.flushSync)(()=>{
|
|
82
|
+
onEnd();
|
|
83
|
+
});
|
|
84
|
+
}).catch(()=>{});
|
|
85
|
+
return ()=>{
|
|
86
|
+
canceled = true;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}, [
|
|
90
|
+
ref,
|
|
91
|
+
isActive,
|
|
92
|
+
onEnd
|
|
93
|
+
]);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=animation.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;AAMM,SAAS,0CAAkB,GAAkC,EAAE,UAAmB,IAAI;IAC3F,IAAI,CAAC,YAAY,YAAY,GAAG,CAAA,GAAA,qBAAO,EAAE;IACzC,IAAI,mBAAmB,cAAc;IAErC,4CAA4C;IAC5C,kIAAkI;IAClI,4IAA4I;IAC5I,EAAE;IACF,mJAAmJ;IACnJ,+FAA+F;IAC/F,CAAA,GAAA,yCAAc,EAAE;QACd,IAAI,oBAAoB,IAAI,OAAO,IAAI,mBAAmB,IAAI,OAAO,EAAE;YACrE,KAAK,IAAI,aAAa,IAAI,OAAO,CAAC,aAAa,GAC7C,IAAI,qBAAqB,eACvB,UAAU,MAAM;QAGtB;IACF,GAAG;QAAC;QAAK;KAAiB;IAE1B,mCAAa,KAAK,kBAAkB,CAAA,GAAA,wBAAU,EAAE,IAAM,YAAY,QAAQ,EAAE;IAC5E,OAAO;AACT;AAEO,SAAS,0CAAiB,GAAkC,EAAE,MAAe;IAClF,IAAI,CAAC,WAAW,aAAa,GAAG,CAAA,GAAA,qBAAO,EAAiC,SAAS,SAAS;IAE1F,OAAQ;QACN,KAAK;YACH,qDAAqD;YACrD,IAAI,CAAC,QACH,aAAa;YAEf;QACF,KAAK;QACL,KAAK;YACH,4EAA4E;YAC5E,2BAA2B;YAC3B,IAAI,QACF,aAAa;YAEf;IACJ;IAEA,IAAI,YAAY,cAAc;IAC9B,mCACE,KACA,WACA,CAAA,GAAA,wBAAU,EAAE;QACV,yEAAyE;QACzE,aAAa,CAAA,QAAS,UAAU,YAAY,WAAW;IACzD,GAAG,EAAE;IAGP,OAAO;AACT;AAEA,SAAS,mCAAa,GAAkC,EAAE,QAAiB,EAAE,KAAiB;IAC5F,CAAA,GAAA,yCAAc,EAAE;QACd,IAAI,YAAY,IAAI,OAAO,EAAE;YAC3B,IAAI,CAAE,CAAA,mBAAmB,IAAI,OAAO,AAAD,GAAI;gBACrC,QAAQ;gBACR;gBACA;YACF;YAEA,IAAI,aAAa,IAAI,OAAO,CAAC,aAAa;YAC1C,IAAI,WAAW,MAAM,KAAK,GAAG;gBAC3B;gBACA;YACF;YAEA,IAAI,WAAW;YACf,QAAQ,GAAG,CAAC,WAAW,GAAG,CAAC,CAAA,IAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;gBAChD,IAAI,CAAC,UACH,CAAA,GAAA,yBAAQ,EAAE;oBACR;gBACF;YAEJ,GAAG,KAAK,CAAC,KAAO;YAEhB,OAAO;gBACL,WAAW;YACb;QACF;IACF,GAAG;QAAC;QAAK;QAAU;KAAM;AAC3B","sources":["packages/@react-aria/utils/src/animation.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {flushSync} from 'react-dom';\nimport {RefObject, useCallback, useState} from 'react';\nimport {useLayoutEffect} from './useLayoutEffect';\n\nexport function useEnterAnimation(ref: RefObject<HTMLElement | null>, isReady: boolean = true) {\n let [isEntering, setEntering] = useState(true);\n let isAnimationReady = isEntering && isReady;\n \n // There are two cases for entry animations:\n // 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.\n // 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.\n //\n // In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).\n // This can happen when isReady starts as false (e.g. popovers prior to placement calculation).\n useLayoutEffect(() => {\n if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {\n for (let animation of ref.current.getAnimations()) {\n if (animation instanceof CSSTransition) {\n animation.cancel();\n }\n }\n }\n }, [ref, isAnimationReady]);\n\n useAnimation(ref, isAnimationReady, useCallback(() => setEntering(false), []));\n return isAnimationReady;\n}\n\nexport function useExitAnimation(ref: RefObject<HTMLElement | null>, isOpen: boolean) {\n let [exitState, setExitState] = useState<'closed' | 'open' | 'exiting'>(isOpen ? 'open' : 'closed');\n\n switch (exitState) {\n case 'open':\n // If isOpen becomes false, set the state to exiting.\n if (!isOpen) {\n setExitState('exiting');\n }\n break;\n case 'closed':\n case 'exiting':\n // If we are exiting and isOpen becomes true, the animation was interrupted.\n // Reset the state to open.\n if (isOpen) {\n setExitState('open');\n }\n break;\n }\n\n let isExiting = exitState === 'exiting';\n useAnimation(\n ref,\n isExiting,\n useCallback(() => {\n // Set the state to closed, which will cause the element to be unmounted.\n setExitState(state => state === 'exiting' ? 'closed' : state);\n }, [])\n );\n\n return isExiting;\n}\n\nfunction useAnimation(ref: RefObject<HTMLElement | null>, isActive: boolean, onEnd: () => void) {\n useLayoutEffect(() => {\n if (isActive && ref.current) {\n if (!('getAnimations' in ref.current)) {\n // JSDOM\n onEnd();\n return;\n }\n \n let animations = ref.current.getAnimations();\n if (animations.length === 0) {\n onEnd();\n return;\n }\n\n let canceled = false;\n Promise.all(animations.map(a => a.finished)).then(() => {\n if (!canceled) {\n flushSync(() => {\n onEnd();\n });\n }\n }).catch(() => {});\n \n return () => {\n canceled = true;\n };\n }\n }, [ref, isActive, onEnd]);\n}\n"],"names":[],"version":3,"file":"animation.main.js.map"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from "./useLayoutEffect.mjs";
|
|
2
|
+
import {flushSync as $jJMAe$flushSync} from "react-dom";
|
|
3
|
+
import {useState as $jJMAe$useState, useCallback as $jJMAe$useCallback} from "react";
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
7
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
9
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
12
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
13
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
14
|
+
* governing permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
function $d3f049242431219c$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
19
|
+
let [isEntering, setEntering] = (0, $jJMAe$useState)(true);
|
|
20
|
+
let isAnimationReady = isEntering && isReady;
|
|
21
|
+
// There are two cases for entry animations:
|
|
22
|
+
// 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.
|
|
23
|
+
// 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.
|
|
24
|
+
//
|
|
25
|
+
// In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).
|
|
26
|
+
// This can happen when isReady starts as false (e.g. popovers prior to placement calculation).
|
|
27
|
+
(0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
|
|
28
|
+
if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {
|
|
29
|
+
for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();
|
|
30
|
+
}
|
|
31
|
+
}, [
|
|
32
|
+
ref,
|
|
33
|
+
isAnimationReady
|
|
34
|
+
]);
|
|
35
|
+
$d3f049242431219c$var$useAnimation(ref, isAnimationReady, (0, $jJMAe$useCallback)(()=>setEntering(false), []));
|
|
36
|
+
return isAnimationReady;
|
|
37
|
+
}
|
|
38
|
+
function $d3f049242431219c$export$45fda7c47f93fd48(ref, isOpen) {
|
|
39
|
+
let [exitState, setExitState] = (0, $jJMAe$useState)(isOpen ? 'open' : 'closed');
|
|
40
|
+
switch(exitState){
|
|
41
|
+
case 'open':
|
|
42
|
+
// If isOpen becomes false, set the state to exiting.
|
|
43
|
+
if (!isOpen) setExitState('exiting');
|
|
44
|
+
break;
|
|
45
|
+
case 'closed':
|
|
46
|
+
case 'exiting':
|
|
47
|
+
// If we are exiting and isOpen becomes true, the animation was interrupted.
|
|
48
|
+
// Reset the state to open.
|
|
49
|
+
if (isOpen) setExitState('open');
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
let isExiting = exitState === 'exiting';
|
|
53
|
+
$d3f049242431219c$var$useAnimation(ref, isExiting, (0, $jJMAe$useCallback)(()=>{
|
|
54
|
+
// Set the state to closed, which will cause the element to be unmounted.
|
|
55
|
+
setExitState((state)=>state === 'exiting' ? 'closed' : state);
|
|
56
|
+
}, []));
|
|
57
|
+
return isExiting;
|
|
58
|
+
}
|
|
59
|
+
function $d3f049242431219c$var$useAnimation(ref, isActive, onEnd) {
|
|
60
|
+
(0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
|
|
61
|
+
if (isActive && ref.current) {
|
|
62
|
+
if (!('getAnimations' in ref.current)) {
|
|
63
|
+
// JSDOM
|
|
64
|
+
onEnd();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
let animations = ref.current.getAnimations();
|
|
68
|
+
if (animations.length === 0) {
|
|
69
|
+
onEnd();
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
let canceled = false;
|
|
73
|
+
Promise.all(animations.map((a)=>a.finished)).then(()=>{
|
|
74
|
+
if (!canceled) (0, $jJMAe$flushSync)(()=>{
|
|
75
|
+
onEnd();
|
|
76
|
+
});
|
|
77
|
+
}).catch(()=>{});
|
|
78
|
+
return ()=>{
|
|
79
|
+
canceled = true;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}, [
|
|
83
|
+
ref,
|
|
84
|
+
isActive,
|
|
85
|
+
onEnd
|
|
86
|
+
]);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
export {$d3f049242431219c$export$6d3443f2c48bfc20 as useEnterAnimation, $d3f049242431219c$export$45fda7c47f93fd48 as useExitAnimation};
|
|
91
|
+
//# sourceMappingURL=animation.module.js.map
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from "./useLayoutEffect.module.js";
|
|
2
|
+
import {flushSync as $jJMAe$flushSync} from "react-dom";
|
|
3
|
+
import {useState as $jJMAe$useState, useCallback as $jJMAe$useCallback} from "react";
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
7
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
9
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
12
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
13
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
14
|
+
* governing permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
function $d3f049242431219c$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
19
|
+
let [isEntering, setEntering] = (0, $jJMAe$useState)(true);
|
|
20
|
+
let isAnimationReady = isEntering && isReady;
|
|
21
|
+
// There are two cases for entry animations:
|
|
22
|
+
// 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.
|
|
23
|
+
// 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.
|
|
24
|
+
//
|
|
25
|
+
// In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).
|
|
26
|
+
// This can happen when isReady starts as false (e.g. popovers prior to placement calculation).
|
|
27
|
+
(0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
|
|
28
|
+
if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {
|
|
29
|
+
for (let animation of ref.current.getAnimations())if (animation instanceof CSSTransition) animation.cancel();
|
|
30
|
+
}
|
|
31
|
+
}, [
|
|
32
|
+
ref,
|
|
33
|
+
isAnimationReady
|
|
34
|
+
]);
|
|
35
|
+
$d3f049242431219c$var$useAnimation(ref, isAnimationReady, (0, $jJMAe$useCallback)(()=>setEntering(false), []));
|
|
36
|
+
return isAnimationReady;
|
|
37
|
+
}
|
|
38
|
+
function $d3f049242431219c$export$45fda7c47f93fd48(ref, isOpen) {
|
|
39
|
+
let [exitState, setExitState] = (0, $jJMAe$useState)(isOpen ? 'open' : 'closed');
|
|
40
|
+
switch(exitState){
|
|
41
|
+
case 'open':
|
|
42
|
+
// If isOpen becomes false, set the state to exiting.
|
|
43
|
+
if (!isOpen) setExitState('exiting');
|
|
44
|
+
break;
|
|
45
|
+
case 'closed':
|
|
46
|
+
case 'exiting':
|
|
47
|
+
// If we are exiting and isOpen becomes true, the animation was interrupted.
|
|
48
|
+
// Reset the state to open.
|
|
49
|
+
if (isOpen) setExitState('open');
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
let isExiting = exitState === 'exiting';
|
|
53
|
+
$d3f049242431219c$var$useAnimation(ref, isExiting, (0, $jJMAe$useCallback)(()=>{
|
|
54
|
+
// Set the state to closed, which will cause the element to be unmounted.
|
|
55
|
+
setExitState((state)=>state === 'exiting' ? 'closed' : state);
|
|
56
|
+
}, []));
|
|
57
|
+
return isExiting;
|
|
58
|
+
}
|
|
59
|
+
function $d3f049242431219c$var$useAnimation(ref, isActive, onEnd) {
|
|
60
|
+
(0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{
|
|
61
|
+
if (isActive && ref.current) {
|
|
62
|
+
if (!('getAnimations' in ref.current)) {
|
|
63
|
+
// JSDOM
|
|
64
|
+
onEnd();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
let animations = ref.current.getAnimations();
|
|
68
|
+
if (animations.length === 0) {
|
|
69
|
+
onEnd();
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
let canceled = false;
|
|
73
|
+
Promise.all(animations.map((a)=>a.finished)).then(()=>{
|
|
74
|
+
if (!canceled) (0, $jJMAe$flushSync)(()=>{
|
|
75
|
+
onEnd();
|
|
76
|
+
});
|
|
77
|
+
}).catch(()=>{});
|
|
78
|
+
return ()=>{
|
|
79
|
+
canceled = true;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}, [
|
|
83
|
+
ref,
|
|
84
|
+
isActive,
|
|
85
|
+
onEnd
|
|
86
|
+
]);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
export {$d3f049242431219c$export$6d3443f2c48bfc20 as useEnterAnimation, $d3f049242431219c$export$45fda7c47f93fd48 as useExitAnimation};
|
|
91
|
+
//# sourceMappingURL=animation.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;AAAA;;;;;;;;;;CAUC;;;AAMM,SAAS,0CAAkB,GAAkC,EAAE,UAAmB,IAAI;IAC3F,IAAI,CAAC,YAAY,YAAY,GAAG,CAAA,GAAA,eAAO,EAAE;IACzC,IAAI,mBAAmB,cAAc;IAErC,4CAA4C;IAC5C,kIAAkI;IAClI,4IAA4I;IAC5I,EAAE;IACF,mJAAmJ;IACnJ,+FAA+F;IAC/F,CAAA,GAAA,yCAAc,EAAE;QACd,IAAI,oBAAoB,IAAI,OAAO,IAAI,mBAAmB,IAAI,OAAO,EAAE;YACrE,KAAK,IAAI,aAAa,IAAI,OAAO,CAAC,aAAa,GAC7C,IAAI,qBAAqB,eACvB,UAAU,MAAM;QAGtB;IACF,GAAG;QAAC;QAAK;KAAiB;IAE1B,mCAAa,KAAK,kBAAkB,CAAA,GAAA,kBAAU,EAAE,IAAM,YAAY,QAAQ,EAAE;IAC5E,OAAO;AACT;AAEO,SAAS,0CAAiB,GAAkC,EAAE,MAAe;IAClF,IAAI,CAAC,WAAW,aAAa,GAAG,CAAA,GAAA,eAAO,EAAiC,SAAS,SAAS;IAE1F,OAAQ;QACN,KAAK;YACH,qDAAqD;YACrD,IAAI,CAAC,QACH,aAAa;YAEf;QACF,KAAK;QACL,KAAK;YACH,4EAA4E;YAC5E,2BAA2B;YAC3B,IAAI,QACF,aAAa;YAEf;IACJ;IAEA,IAAI,YAAY,cAAc;IAC9B,mCACE,KACA,WACA,CAAA,GAAA,kBAAU,EAAE;QACV,yEAAyE;QACzE,aAAa,CAAA,QAAS,UAAU,YAAY,WAAW;IACzD,GAAG,EAAE;IAGP,OAAO;AACT;AAEA,SAAS,mCAAa,GAAkC,EAAE,QAAiB,EAAE,KAAiB;IAC5F,CAAA,GAAA,yCAAc,EAAE;QACd,IAAI,YAAY,IAAI,OAAO,EAAE;YAC3B,IAAI,CAAE,CAAA,mBAAmB,IAAI,OAAO,AAAD,GAAI;gBACrC,QAAQ;gBACR;gBACA;YACF;YAEA,IAAI,aAAa,IAAI,OAAO,CAAC,aAAa;YAC1C,IAAI,WAAW,MAAM,KAAK,GAAG;gBAC3B;gBACA;YACF;YAEA,IAAI,WAAW;YACf,QAAQ,GAAG,CAAC,WAAW,GAAG,CAAC,CAAA,IAAK,EAAE,QAAQ,GAAG,IAAI,CAAC;gBAChD,IAAI,CAAC,UACH,CAAA,GAAA,gBAAQ,EAAE;oBACR;gBACF;YAEJ,GAAG,KAAK,CAAC,KAAO;YAEhB,OAAO;gBACL,WAAW;YACb;QACF;IACF,GAAG;QAAC;QAAK;QAAU;KAAM;AAC3B","sources":["packages/@react-aria/utils/src/animation.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {flushSync} from 'react-dom';\nimport {RefObject, useCallback, useState} from 'react';\nimport {useLayoutEffect} from './useLayoutEffect';\n\nexport function useEnterAnimation(ref: RefObject<HTMLElement | null>, isReady: boolean = true) {\n let [isEntering, setEntering] = useState(true);\n let isAnimationReady = isEntering && isReady;\n \n // There are two cases for entry animations:\n // 1. CSS @keyframes. The `animation` property is set during the isEntering state, and it is removed after the animation finishes.\n // 2. CSS transitions. The initial styles are applied during the isEntering state, and removed immediately, causing the transition to occur.\n //\n // In the second case, cancel any transitions that were triggered prior to the isEntering = false state (when the transition is supposed to start).\n // This can happen when isReady starts as false (e.g. popovers prior to placement calculation).\n useLayoutEffect(() => {\n if (isAnimationReady && ref.current && 'getAnimations' in ref.current) {\n for (let animation of ref.current.getAnimations()) {\n if (animation instanceof CSSTransition) {\n animation.cancel();\n }\n }\n }\n }, [ref, isAnimationReady]);\n\n useAnimation(ref, isAnimationReady, useCallback(() => setEntering(false), []));\n return isAnimationReady;\n}\n\nexport function useExitAnimation(ref: RefObject<HTMLElement | null>, isOpen: boolean) {\n let [exitState, setExitState] = useState<'closed' | 'open' | 'exiting'>(isOpen ? 'open' : 'closed');\n\n switch (exitState) {\n case 'open':\n // If isOpen becomes false, set the state to exiting.\n if (!isOpen) {\n setExitState('exiting');\n }\n break;\n case 'closed':\n case 'exiting':\n // If we are exiting and isOpen becomes true, the animation was interrupted.\n // Reset the state to open.\n if (isOpen) {\n setExitState('open');\n }\n break;\n }\n\n let isExiting = exitState === 'exiting';\n useAnimation(\n ref,\n isExiting,\n useCallback(() => {\n // Set the state to closed, which will cause the element to be unmounted.\n setExitState(state => state === 'exiting' ? 'closed' : state);\n }, [])\n );\n\n return isExiting;\n}\n\nfunction useAnimation(ref: RefObject<HTMLElement | null>, isActive: boolean, onEnd: () => void) {\n useLayoutEffect(() => {\n if (isActive && ref.current) {\n if (!('getAnimations' in ref.current)) {\n // JSDOM\n onEnd();\n return;\n }\n \n let animations = ref.current.getAnimations();\n if (animations.length === 0) {\n onEnd();\n return;\n }\n\n let canceled = false;\n Promise.all(animations.map(a => a.finished)).then(() => {\n if (!canceled) {\n flushSync(() => {\n onEnd();\n });\n }\n }).catch(() => {});\n \n return () => {\n canceled = true;\n };\n }\n }, [ref, isActive, onEnd]);\n}\n"],"names":[],"version":3,"file":"animation.module.js.map"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
function $parcel$export(e, n, v, s) {
|
|
3
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
$parcel$export(module.exports, "CLEAR_FOCUS_EVENT", () => $a0850d0add29d276$export$447a38995de2c711);
|
|
7
|
+
$parcel$export(module.exports, "FOCUS_EVENT", () => $a0850d0add29d276$export$831c820ad60f9d12);
|
|
8
|
+
$parcel$export(module.exports, "UPDATE_ACTIVEDESCENDANT", () => $a0850d0add29d276$export$9db568f6321ad9dc);
|
|
9
|
+
/*
|
|
10
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
11
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
13
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
16
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
17
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
18
|
+
* governing permissions and limitations under the License.
|
|
19
|
+
*/ // Custom event names for updating the autocomplete's aria-activedecendant.
|
|
20
|
+
const $a0850d0add29d276$export$447a38995de2c711 = 'react-aria-clear-focus';
|
|
21
|
+
const $a0850d0add29d276$export$831c820ad60f9d12 = 'react-aria-focus';
|
|
22
|
+
const $a0850d0add29d276$export$9db568f6321ad9dc = 'react-aria-update-activedescendant';
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=constants.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,2EAA2E;AACpE,MAAM,4CAAoB;AAC1B,MAAM,4CAAc;AACpB,MAAM,4CAA0B","sources":["packages/@react-aria/utils/src/constants.ts"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Custom event names for updating the autocomplete's aria-activedecendant.\nexport const CLEAR_FOCUS_EVENT = 'react-aria-clear-focus';\nexport const FOCUS_EVENT = 'react-aria-focus';\nexport const UPDATE_ACTIVEDESCENDANT = 'react-aria-update-activedescendant';\n"],"names":[],"version":3,"file":"constants.main.js.map"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/ // Custom event names for updating the autocomplete's aria-activedecendant.
|
|
12
|
+
const $5671b20cf9b562b2$export$447a38995de2c711 = 'react-aria-clear-focus';
|
|
13
|
+
const $5671b20cf9b562b2$export$831c820ad60f9d12 = 'react-aria-focus';
|
|
14
|
+
const $5671b20cf9b562b2$export$9db568f6321ad9dc = 'react-aria-update-activedescendant';
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export {$5671b20cf9b562b2$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $5671b20cf9b562b2$export$831c820ad60f9d12 as FOCUS_EVENT, $5671b20cf9b562b2$export$9db568f6321ad9dc as UPDATE_ACTIVEDESCENDANT};
|
|
18
|
+
//# sourceMappingURL=constants.module.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/ // Custom event names for updating the autocomplete's aria-activedecendant.
|
|
12
|
+
const $5671b20cf9b562b2$export$447a38995de2c711 = 'react-aria-clear-focus';
|
|
13
|
+
const $5671b20cf9b562b2$export$831c820ad60f9d12 = 'react-aria-focus';
|
|
14
|
+
const $5671b20cf9b562b2$export$9db568f6321ad9dc = 'react-aria-update-activedescendant';
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export {$5671b20cf9b562b2$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $5671b20cf9b562b2$export$831c820ad60f9d12 as FOCUS_EVENT, $5671b20cf9b562b2$export$9db568f6321ad9dc as UPDATE_ACTIVEDESCENDANT};
|
|
18
|
+
//# sourceMappingURL=constants.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAAA;;;;;;;;;;CAUC,GAED,2EAA2E;AACpE,MAAM,4CAAoB;AAC1B,MAAM,4CAAc;AACpB,MAAM,4CAA0B","sources":["packages/@react-aria/utils/src/constants.ts"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Custom event names for updating the autocomplete's aria-activedecendant.\nexport const CLEAR_FOCUS_EVENT = 'react-aria-clear-focus';\nexport const FOCUS_EVENT = 'react-aria-focus';\nexport const UPDATE_ACTIVEDESCENDANT = 'react-aria-update-activedescendant';\n"],"names":[],"version":3,"file":"constants.module.js.map"}
|
package/dist/import.mjs
CHANGED
|
@@ -13,6 +13,7 @@ import {useGlobalListeners as $03deb23ff14920c4$export$4eaf04e54aa8eed6} from ".
|
|
|
13
13
|
import {useLabels as $313b98861ee5dd6c$export$d6875122194c7b44} from "./useLabels.mjs";
|
|
14
14
|
import {useObjectRef as $df56164dff5785e2$export$4338b53315abf666} from "./useObjectRef.mjs";
|
|
15
15
|
import {useUpdateEffect as $4f58c5f72bcf79f7$export$496315a1608d9602} from "./useUpdateEffect.mjs";
|
|
16
|
+
import {useUpdateLayoutEffect as $ca9b37712f007381$export$72ef708ab07251f1} from "./useUpdateLayoutEffect.mjs";
|
|
16
17
|
import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from "./useLayoutEffect.mjs";
|
|
17
18
|
import {useResizeObserver as $9daab02d461809db$export$683480f191c0e3ea} from "./useResizeObserver.mjs";
|
|
18
19
|
import {useSyncRef as $e7801be82b4b2a53$export$4debdb1a3f0fa79e} from "./useSyncRef.mjs";
|
|
@@ -30,6 +31,9 @@ import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from "./use
|
|
|
30
31
|
import {useDeepMemo as $5a387cc49350e6db$export$722debc0e56fea39} from "./useDeepMemo.mjs";
|
|
31
32
|
import {useFormReset as $99facab73266f662$export$5add1d006293d136} from "./useFormReset.mjs";
|
|
32
33
|
import {useLoadMore as $26f7f3da73fcd9d6$export$7717c92ee915373e} from "./useLoadMore.mjs";
|
|
34
|
+
import {CLEAR_FOCUS_EVENT as $5671b20cf9b562b2$export$447a38995de2c711, FOCUS_EVENT as $5671b20cf9b562b2$export$831c820ad60f9d12, UPDATE_ACTIVEDESCENDANT as $5671b20cf9b562b2$export$9db568f6321ad9dc} from "./constants.mjs";
|
|
35
|
+
import {isCtrlKeyPressed as $21f1aa98acb08317$export$16792effe837dba3} from "./keyboard.mjs";
|
|
36
|
+
import {useEnterAnimation as $d3f049242431219c$export$6d3443f2c48bfc20, useExitAnimation as $d3f049242431219c$export$45fda7c47f93fd48} from "./animation.mjs";
|
|
33
37
|
import {clamp as $4507461a1b870123$re_export$clamp, snapValueToStep as $4507461a1b870123$re_export$snapValueToStep} from "@react-stately/utils";
|
|
34
38
|
|
|
35
39
|
/*
|
|
@@ -77,5 +81,9 @@ import {clamp as $4507461a1b870123$re_export$clamp, snapValueToStep as $4507461a
|
|
|
77
81
|
|
|
78
82
|
|
|
79
83
|
|
|
80
|
-
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export {$bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId, $ff5963eb1fccf552$export$e08e3b67e392101e as chain, $431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps, $5dc95899b306f630$export$c9058316764c140e as mergeRefs, $65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps, $7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling, $ab71dadb03a6fb2e$export$622cea445a1c5b7d as getOffset, $ea8dcbcb9ea1b556$export$95185d699e05d4d7 as openLink, $ea8dcbcb9ea1b556$export$51437d503373d223 as getSyntheticLinkProps, $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb as RouterProvider, $ea8dcbcb9ea1b556$export$efa8c9099e530235 as shouldClientNavigate, $ea8dcbcb9ea1b556$export$9a302a45f65d0572 as useRouter, $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 as useLinkProps, $bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition, $9cc09df9fd7676be$export$7bbed75feba39706 as useDrag1D, $03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners, $313b98861ee5dd6c$export$d6875122194c7b44 as useLabels, $df56164dff5785e2$export$4338b53315abf666 as useObjectRef, $4f58c5f72bcf79f7$export$496315a1608d9602 as useUpdateEffect, $ca9b37712f007381$export$72ef708ab07251f1 as useUpdateLayoutEffect, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect, $9daab02d461809db$export$683480f191c0e3ea as useResizeObserver, $e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef, $62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents, $cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable, $5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize, $ef06256079686ba0$export$f8aeda7b10753fa1 as useDescription, $c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox, $e9faafb641e167db$export$90fc3a17d93f704c as useEvent, $1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect, $2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport, $4507461a1b870123$re_export$clamp as clamp, $4507461a1b870123$re_export$snapValueToStep as snapValueToStep, $6a7db85432448f7f$export$60278871457622de as isVirtualClick, $6a7db85432448f7f$export$29bf1b5f2c56cf63 as isVirtualPointerEvent, $8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent, $5a387cc49350e6db$export$722debc0e56fea39 as useDeepMemo, $99facab73266f662$export$5add1d006293d136 as useFormReset, $26f7f3da73fcd9d6$export$7717c92ee915373e as useLoadMore, $5671b20cf9b562b2$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $5671b20cf9b562b2$export$831c820ad60f9d12 as FOCUS_EVENT, $5671b20cf9b562b2$export$9db568f6321ad9dc as UPDATE_ACTIVEDESCENDANT, $21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed, $d3f049242431219c$export$6d3443f2c48bfc20 as useEnterAnimation, $d3f049242431219c$export$45fda7c47f93fd48 as useExitAnimation};
|
|
81
89
|
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var $9e20cff0af27e8cc$exports = require("./platform.main.js");
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
function $parcel$export(e, n, v, s) {
|
|
5
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
$parcel$export(module.exports, "isCtrlKeyPressed", () => $2308dc377e184bb0$export$16792effe837dba3);
|
|
9
|
+
/*
|
|
10
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
11
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
13
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
16
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
17
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
18
|
+
* governing permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
function $2308dc377e184bb0$export$16792effe837dba3(e) {
|
|
21
|
+
if ((0, $9e20cff0af27e8cc$exports.isMac)()) return e.metaKey;
|
|
22
|
+
return e.ctrlKey;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=keyboard.main.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC;AAUM,SAAS,0CAAiB,CAAQ;IACvC,IAAI,CAAA,GAAA,+BAAI,KACN,OAAO,EAAE,OAAO;IAGlB,OAAO,EAAE,OAAO;AAClB","sources":["packages/@react-aria/utils/src/keyboard.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {isMac} from './platform';\n\ninterface Event {\n altKey: boolean,\n ctrlKey: boolean,\n metaKey: boolean\n}\n\nexport function isCtrlKeyPressed(e: Event) {\n if (isMac()) {\n return e.metaKey;\n }\n\n return e.ctrlKey;\n}\n"],"names":[],"version":3,"file":"keyboard.main.js.map"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {isMac as $c87311424ea30a05$export$9ac100e40613ea10} from "./platform.mjs";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
5
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
7
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
11
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*/
|
|
14
|
+
function $21f1aa98acb08317$export$16792effe837dba3(e) {
|
|
15
|
+
if ((0, $c87311424ea30a05$export$9ac100e40613ea10)()) return e.metaKey;
|
|
16
|
+
return e.ctrlKey;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export {$21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed};
|
|
21
|
+
//# sourceMappingURL=keyboard.module.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {isMac as $c87311424ea30a05$export$9ac100e40613ea10} from "./platform.module.js";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2024 Adobe. All rights reserved.
|
|
5
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
7
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
11
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*/
|
|
14
|
+
function $21f1aa98acb08317$export$16792effe837dba3(e) {
|
|
15
|
+
if ((0, $c87311424ea30a05$export$9ac100e40613ea10)()) return e.metaKey;
|
|
16
|
+
return e.ctrlKey;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export {$21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed};
|
|
21
|
+
//# sourceMappingURL=keyboard.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC;AAUM,SAAS,0CAAiB,CAAQ;IACvC,IAAI,CAAA,GAAA,yCAAI,KACN,OAAO,EAAE,OAAO;IAGlB,OAAO,EAAE,OAAO;AAClB","sources":["packages/@react-aria/utils/src/keyboard.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {isMac} from './platform';\n\ninterface Event {\n altKey: boolean,\n ctrlKey: boolean,\n metaKey: boolean\n}\n\nexport function isCtrlKeyPressed(e: Event) {\n if (isMac()) {\n return e.metaKey;\n }\n\n return e.ctrlKey;\n}\n"],"names":[],"version":3,"file":"keyboard.module.js.map"}
|
package/dist/main.js
CHANGED
|
@@ -13,6 +13,7 @@ var $4571ff54ac709100$exports = require("./useGlobalListeners.main.js");
|
|
|
13
13
|
var $6ec78bde395c477d$exports = require("./useLabels.main.js");
|
|
14
14
|
var $475b35fe72ba49b3$exports = require("./useObjectRef.main.js");
|
|
15
15
|
var $29293a6f5c75b37e$exports = require("./useUpdateEffect.main.js");
|
|
16
|
+
var $0fa310503218f75f$exports = require("./useUpdateLayoutEffect.main.js");
|
|
16
17
|
var $78605a5d7424e31b$exports = require("./useLayoutEffect.main.js");
|
|
17
18
|
var $37733e1652f47193$exports = require("./useResizeObserver.main.js");
|
|
18
19
|
var $6fc733991a9f977c$exports = require("./useSyncRef.main.js");
|
|
@@ -30,6 +31,9 @@ var $1254e5bb94ac8761$exports = require("./useEffectEvent.main.js");
|
|
|
30
31
|
var $20e6e72fbf5dc81e$exports = require("./useDeepMemo.main.js");
|
|
31
32
|
var $1f205e845604a423$exports = require("./useFormReset.main.js");
|
|
32
33
|
var $faa6ccd6fb62f877$exports = require("./useLoadMore.main.js");
|
|
34
|
+
var $a0850d0add29d276$exports = require("./constants.main.js");
|
|
35
|
+
var $2308dc377e184bb0$exports = require("./keyboard.main.js");
|
|
36
|
+
var $5bd06107f98811f5$exports = require("./animation.main.js");
|
|
33
37
|
var $1Yh1N$reactstatelyutils = require("@react-stately/utils");
|
|
34
38
|
|
|
35
39
|
|
|
@@ -61,6 +65,7 @@ $parcel$export(module.exports, "useGlobalListeners", () => $4571ff54ac709100$exp
|
|
|
61
65
|
$parcel$export(module.exports, "useLabels", () => $6ec78bde395c477d$exports.useLabels);
|
|
62
66
|
$parcel$export(module.exports, "useObjectRef", () => $475b35fe72ba49b3$exports.useObjectRef);
|
|
63
67
|
$parcel$export(module.exports, "useUpdateEffect", () => $29293a6f5c75b37e$exports.useUpdateEffect);
|
|
68
|
+
$parcel$export(module.exports, "useUpdateLayoutEffect", () => $0fa310503218f75f$exports.useUpdateLayoutEffect);
|
|
64
69
|
$parcel$export(module.exports, "useLayoutEffect", () => $78605a5d7424e31b$exports.useLayoutEffect);
|
|
65
70
|
$parcel$export(module.exports, "useResizeObserver", () => $37733e1652f47193$exports.useResizeObserver);
|
|
66
71
|
$parcel$export(module.exports, "useSyncRef", () => $6fc733991a9f977c$exports.useSyncRef);
|
|
@@ -90,6 +95,12 @@ $parcel$export(module.exports, "useEffectEvent", () => $1254e5bb94ac8761$exports
|
|
|
90
95
|
$parcel$export(module.exports, "useDeepMemo", () => $20e6e72fbf5dc81e$exports.useDeepMemo);
|
|
91
96
|
$parcel$export(module.exports, "useFormReset", () => $1f205e845604a423$exports.useFormReset);
|
|
92
97
|
$parcel$export(module.exports, "useLoadMore", () => $faa6ccd6fb62f877$exports.useLoadMore);
|
|
98
|
+
$parcel$export(module.exports, "CLEAR_FOCUS_EVENT", () => $a0850d0add29d276$exports.CLEAR_FOCUS_EVENT);
|
|
99
|
+
$parcel$export(module.exports, "FOCUS_EVENT", () => $a0850d0add29d276$exports.FOCUS_EVENT);
|
|
100
|
+
$parcel$export(module.exports, "UPDATE_ACTIVEDESCENDANT", () => $a0850d0add29d276$exports.UPDATE_ACTIVEDESCENDANT);
|
|
101
|
+
$parcel$export(module.exports, "isCtrlKeyPressed", () => $2308dc377e184bb0$exports.isCtrlKeyPressed);
|
|
102
|
+
$parcel$export(module.exports, "useEnterAnimation", () => $5bd06107f98811f5$exports.useEnterAnimation);
|
|
103
|
+
$parcel$export(module.exports, "useExitAnimation", () => $5bd06107f98811f5$exports.useExitAnimation);
|
|
93
104
|
/*
|
|
94
105
|
* Copyright 2020 Adobe. All rights reserved.
|
|
95
106
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -130,6 +141,10 @@ $parcel$export(module.exports, "useLoadMore", () => $faa6ccd6fb62f877$exports.us
|
|
|
130
141
|
|
|
131
142
|
|
|
132
143
|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
133
148
|
|
|
134
149
|
|
|
135
150
|
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/utils/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useId, mergeIds, useSlotId} from './useId';\nexport {chain} from './chain';\nexport {getOwnerDocument, getOwnerWindow} from './domHelpers';\nexport {mergeProps} from './mergeProps';\nexport {mergeRefs} from './mergeRefs';\nexport {filterDOMProps} from './filterDOMProps';\nexport {focusWithoutScrolling} from './focusWithoutScrolling';\nexport {getOffset} from './getOffset';\nexport {openLink, getSyntheticLinkProps, useSyntheticLinkProps, RouterProvider, shouldClientNavigate, useRouter, useLinkProps} from './openLink';\nexport {runAfterTransition} from './runAfterTransition';\nexport {useDrag1D} from './useDrag1D';\nexport {useGlobalListeners} from './useGlobalListeners';\nexport {useLabels} from './useLabels';\nexport {useObjectRef} from './useObjectRef';\nexport {useUpdateEffect} from './useUpdateEffect';\nexport {useUpdateLayoutEffect} from './useUpdateLayoutEffect';\nexport {useLayoutEffect} from './useLayoutEffect';\nexport {useResizeObserver} from './useResizeObserver';\nexport {useSyncRef} from './useSyncRef';\nexport {getScrollParent} from './getScrollParent';\nexport {getScrollParents} from './getScrollParents';\nexport {isScrollable} from './isScrollable';\nexport {useViewportSize} from './useViewportSize';\nexport {useDescription} from './useDescription';\nexport {isMac, isIPhone, isIPad, isIOS, isAppleDevice, isWebKit, isChrome, isAndroid, isFirefox} from './platform';\nexport {useEvent} from './useEvent';\nexport {useValueEffect} from './useValueEffect';\nexport {scrollIntoView, scrollIntoViewport} from './scrollIntoView';\nexport {clamp, snapValueToStep} from '@react-stately/utils';\nexport {isVirtualClick, isVirtualPointerEvent} from './isVirtualEvent';\nexport {useEffectEvent} from './useEffectEvent';\nexport {useDeepMemo} from './useDeepMemo';\nexport {useFormReset} from './useFormReset';\nexport {useLoadMore} from './useLoadMore';\nexport {CLEAR_FOCUS_EVENT, FOCUS_EVENT, UPDATE_ACTIVEDESCENDANT} from './constants';\nexport {isCtrlKeyPressed} from './keyboard';\nexport {useEnterAnimation, useExitAnimation} from './animation';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -13,6 +13,7 @@ import {useGlobalListeners as $03deb23ff14920c4$export$4eaf04e54aa8eed6} from ".
|
|
|
13
13
|
import {useLabels as $313b98861ee5dd6c$export$d6875122194c7b44} from "./useLabels.module.js";
|
|
14
14
|
import {useObjectRef as $df56164dff5785e2$export$4338b53315abf666} from "./useObjectRef.module.js";
|
|
15
15
|
import {useUpdateEffect as $4f58c5f72bcf79f7$export$496315a1608d9602} from "./useUpdateEffect.module.js";
|
|
16
|
+
import {useUpdateLayoutEffect as $ca9b37712f007381$export$72ef708ab07251f1} from "./useUpdateLayoutEffect.module.js";
|
|
16
17
|
import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from "./useLayoutEffect.module.js";
|
|
17
18
|
import {useResizeObserver as $9daab02d461809db$export$683480f191c0e3ea} from "./useResizeObserver.module.js";
|
|
18
19
|
import {useSyncRef as $e7801be82b4b2a53$export$4debdb1a3f0fa79e} from "./useSyncRef.module.js";
|
|
@@ -30,6 +31,9 @@ import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from "./use
|
|
|
30
31
|
import {useDeepMemo as $5a387cc49350e6db$export$722debc0e56fea39} from "./useDeepMemo.module.js";
|
|
31
32
|
import {useFormReset as $99facab73266f662$export$5add1d006293d136} from "./useFormReset.module.js";
|
|
32
33
|
import {useLoadMore as $26f7f3da73fcd9d6$export$7717c92ee915373e} from "./useLoadMore.module.js";
|
|
34
|
+
import {CLEAR_FOCUS_EVENT as $5671b20cf9b562b2$export$447a38995de2c711, FOCUS_EVENT as $5671b20cf9b562b2$export$831c820ad60f9d12, UPDATE_ACTIVEDESCENDANT as $5671b20cf9b562b2$export$9db568f6321ad9dc} from "./constants.module.js";
|
|
35
|
+
import {isCtrlKeyPressed as $21f1aa98acb08317$export$16792effe837dba3} from "./keyboard.module.js";
|
|
36
|
+
import {useEnterAnimation as $d3f049242431219c$export$6d3443f2c48bfc20, useExitAnimation as $d3f049242431219c$export$45fda7c47f93fd48} from "./animation.module.js";
|
|
33
37
|
import {clamp as $4507461a1b870123$re_export$clamp, snapValueToStep as $4507461a1b870123$re_export$snapValueToStep} from "@react-stately/utils";
|
|
34
38
|
|
|
35
39
|
/*
|
|
@@ -77,5 +81,9 @@ import {clamp as $4507461a1b870123$re_export$clamp, snapValueToStep as $4507461a
|
|
|
77
81
|
|
|
78
82
|
|
|
79
83
|
|
|
80
|
-
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export {$bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId, $ff5963eb1fccf552$export$e08e3b67e392101e as chain, $431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps, $5dc95899b306f630$export$c9058316764c140e as mergeRefs, $65484d02dcb7eb3e$export$457c3d6518dd4c6f as filterDOMProps, $7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling, $ab71dadb03a6fb2e$export$622cea445a1c5b7d as getOffset, $ea8dcbcb9ea1b556$export$95185d699e05d4d7 as openLink, $ea8dcbcb9ea1b556$export$51437d503373d223 as getSyntheticLinkProps, $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 as useSyntheticLinkProps, $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb as RouterProvider, $ea8dcbcb9ea1b556$export$efa8c9099e530235 as shouldClientNavigate, $ea8dcbcb9ea1b556$export$9a302a45f65d0572 as useRouter, $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 as useLinkProps, $bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition, $9cc09df9fd7676be$export$7bbed75feba39706 as useDrag1D, $03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners, $313b98861ee5dd6c$export$d6875122194c7b44 as useLabels, $df56164dff5785e2$export$4338b53315abf666 as useObjectRef, $4f58c5f72bcf79f7$export$496315a1608d9602 as useUpdateEffect, $ca9b37712f007381$export$72ef708ab07251f1 as useUpdateLayoutEffect, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect, $9daab02d461809db$export$683480f191c0e3ea as useResizeObserver, $e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef, $62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents, $cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable, $5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize, $ef06256079686ba0$export$f8aeda7b10753fa1 as useDescription, $c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox, $e9faafb641e167db$export$90fc3a17d93f704c as useEvent, $1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect, $2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport, $4507461a1b870123$re_export$clamp as clamp, $4507461a1b870123$re_export$snapValueToStep as snapValueToStep, $6a7db85432448f7f$export$60278871457622de as isVirtualClick, $6a7db85432448f7f$export$29bf1b5f2c56cf63 as isVirtualPointerEvent, $8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent, $5a387cc49350e6db$export$722debc0e56fea39 as useDeepMemo, $99facab73266f662$export$5add1d006293d136 as useFormReset, $26f7f3da73fcd9d6$export$7717c92ee915373e as useLoadMore, $5671b20cf9b562b2$export$447a38995de2c711 as CLEAR_FOCUS_EVENT, $5671b20cf9b562b2$export$831c820ad60f9d12 as FOCUS_EVENT, $5671b20cf9b562b2$export$9db568f6321ad9dc as UPDATE_ACTIVEDESCENDANT, $21f1aa98acb08317$export$16792effe837dba3 as isCtrlKeyPressed, $d3f049242431219c$export$6d3443f2c48bfc20 as useEnterAnimation, $d3f049242431219c$export$45fda7c47f93fd48 as useExitAnimation};
|
|
81
89
|
//# sourceMappingURL=module.js.map
|