@react-aria/utils 3.0.0-nightly-641446f65-240905

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.
Files changed (202) hide show
  1. package/README.md +3 -0
  2. package/dist/chain.main.js +26 -0
  3. package/dist/chain.main.js.map +1 -0
  4. package/dist/chain.mjs +21 -0
  5. package/dist/chain.module.js +21 -0
  6. package/dist/chain.module.js.map +1 -0
  7. package/dist/domHelpers.main.js +19 -0
  8. package/dist/domHelpers.main.js.map +1 -0
  9. package/dist/domHelpers.mjs +13 -0
  10. package/dist/domHelpers.module.js +13 -0
  11. package/dist/domHelpers.module.js.map +1 -0
  12. package/dist/filterDOMProps.main.js +45 -0
  13. package/dist/filterDOMProps.main.js.map +1 -0
  14. package/dist/filterDOMProps.mjs +40 -0
  15. package/dist/filterDOMProps.module.js +40 -0
  16. package/dist/filterDOMProps.module.js.map +1 -0
  17. package/dist/focusWithoutScrolling.main.js +72 -0
  18. package/dist/focusWithoutScrolling.main.js.map +1 -0
  19. package/dist/focusWithoutScrolling.mjs +67 -0
  20. package/dist/focusWithoutScrolling.module.js +67 -0
  21. package/dist/focusWithoutScrolling.module.js.map +1 -0
  22. package/dist/getOffset.main.js +24 -0
  23. package/dist/getOffset.main.js.map +1 -0
  24. package/dist/getOffset.mjs +19 -0
  25. package/dist/getOffset.module.js +19 -0
  26. package/dist/getOffset.module.js.map +1 -0
  27. package/dist/getScrollParent.main.js +28 -0
  28. package/dist/getScrollParent.main.js.map +1 -0
  29. package/dist/getScrollParent.mjs +23 -0
  30. package/dist/getScrollParent.module.js +23 -0
  31. package/dist/getScrollParent.module.js.map +1 -0
  32. package/dist/getScrollParents.main.js +30 -0
  33. package/dist/getScrollParents.main.js.map +1 -0
  34. package/dist/getScrollParents.mjs +25 -0
  35. package/dist/getScrollParents.module.js +25 -0
  36. package/dist/getScrollParents.module.js.map +1 -0
  37. package/dist/import.mjs +81 -0
  38. package/dist/isScrollable.main.js +25 -0
  39. package/dist/isScrollable.main.js.map +1 -0
  40. package/dist/isScrollable.mjs +20 -0
  41. package/dist/isScrollable.module.js +20 -0
  42. package/dist/isScrollable.module.js.map +1 -0
  43. package/dist/isVirtualEvent.main.js +41 -0
  44. package/dist/isVirtualEvent.main.js.map +1 -0
  45. package/dist/isVirtualEvent.mjs +35 -0
  46. package/dist/isVirtualEvent.module.js +35 -0
  47. package/dist/isVirtualEvent.module.js.map +1 -0
  48. package/dist/main.js +138 -0
  49. package/dist/main.js.map +1 -0
  50. package/dist/mergeProps.main.js +51 -0
  51. package/dist/mergeProps.main.js.map +1 -0
  52. package/dist/mergeProps.mjs +42 -0
  53. package/dist/mergeProps.module.js +42 -0
  54. package/dist/mergeProps.module.js.map +1 -0
  55. package/dist/mergeRefs.main.js +28 -0
  56. package/dist/mergeRefs.main.js.map +1 -0
  57. package/dist/mergeRefs.mjs +23 -0
  58. package/dist/mergeRefs.module.js +23 -0
  59. package/dist/mergeRefs.module.js.map +1 -0
  60. package/dist/module.js +81 -0
  61. package/dist/module.js.map +1 -0
  62. package/dist/openLink.main.js +155 -0
  63. package/dist/openLink.main.js.map +1 -0
  64. package/dist/openLink.mjs +140 -0
  65. package/dist/openLink.module.js +140 -0
  66. package/dist/openLink.module.js.map +1 -0
  67. package/dist/platform.main.js +71 -0
  68. package/dist/platform.main.js.map +1 -0
  69. package/dist/platform.mjs +58 -0
  70. package/dist/platform.module.js +58 -0
  71. package/dist/platform.module.js.map +1 -0
  72. package/dist/runAfterTransition.main.js +82 -0
  73. package/dist/runAfterTransition.main.js.map +1 -0
  74. package/dist/runAfterTransition.mjs +77 -0
  75. package/dist/runAfterTransition.module.js +77 -0
  76. package/dist/runAfterTransition.module.js.map +1 -0
  77. package/dist/scrollIntoView.main.js +96 -0
  78. package/dist/scrollIntoView.main.js.map +1 -0
  79. package/dist/scrollIntoView.mjs +90 -0
  80. package/dist/scrollIntoView.module.js +90 -0
  81. package/dist/scrollIntoView.module.js.map +1 -0
  82. package/dist/types.d.ts +229 -0
  83. package/dist/types.d.ts.map +1 -0
  84. package/dist/useDeepMemo.main.js +30 -0
  85. package/dist/useDeepMemo.main.js.map +1 -0
  86. package/dist/useDeepMemo.mjs +25 -0
  87. package/dist/useDeepMemo.module.js +25 -0
  88. package/dist/useDeepMemo.module.js.map +1 -0
  89. package/dist/useDescription.main.js +59 -0
  90. package/dist/useDescription.main.js.map +1 -0
  91. package/dist/useDescription.mjs +54 -0
  92. package/dist/useDescription.module.js +54 -0
  93. package/dist/useDescription.module.js.map +1 -0
  94. package/dist/useDrag1D.main.js +139 -0
  95. package/dist/useDrag1D.main.js.map +1 -0
  96. package/dist/useDrag1D.mjs +134 -0
  97. package/dist/useDrag1D.module.js +134 -0
  98. package/dist/useDrag1D.module.js.map +1 -0
  99. package/dist/useEffectEvent.main.js +37 -0
  100. package/dist/useEffectEvent.main.js.map +1 -0
  101. package/dist/useEffectEvent.mjs +32 -0
  102. package/dist/useEffectEvent.module.js +32 -0
  103. package/dist/useEffectEvent.module.js.map +1 -0
  104. package/dist/useEvent.main.js +42 -0
  105. package/dist/useEvent.main.js.map +1 -0
  106. package/dist/useEvent.mjs +37 -0
  107. package/dist/useEvent.module.js +37 -0
  108. package/dist/useEvent.module.js.map +1 -0
  109. package/dist/useFormReset.main.js +41 -0
  110. package/dist/useFormReset.main.js.map +1 -0
  111. package/dist/useFormReset.mjs +36 -0
  112. package/dist/useFormReset.module.js +36 -0
  113. package/dist/useFormReset.module.js.map +1 -0
  114. package/dist/useGlobalListeners.main.js +63 -0
  115. package/dist/useGlobalListeners.main.js.map +1 -0
  116. package/dist/useGlobalListeners.mjs +58 -0
  117. package/dist/useGlobalListeners.module.js +58 -0
  118. package/dist/useGlobalListeners.module.js.map +1 -0
  119. package/dist/useId.main.js +93 -0
  120. package/dist/useId.main.js.map +1 -0
  121. package/dist/useId.mjs +86 -0
  122. package/dist/useId.module.js +86 -0
  123. package/dist/useId.module.js.map +1 -0
  124. package/dist/useLabels.main.js +44 -0
  125. package/dist/useLabels.main.js.map +1 -0
  126. package/dist/useLabels.mjs +39 -0
  127. package/dist/useLabels.module.js +39 -0
  128. package/dist/useLabels.module.js.map +1 -0
  129. package/dist/useLayoutEffect.main.js +27 -0
  130. package/dist/useLayoutEffect.main.js.map +1 -0
  131. package/dist/useLayoutEffect.mjs +18 -0
  132. package/dist/useLayoutEffect.module.js +18 -0
  133. package/dist/useLayoutEffect.module.js.map +1 -0
  134. package/dist/useLoadMore.main.js +72 -0
  135. package/dist/useLoadMore.main.js.map +1 -0
  136. package/dist/useLoadMore.mjs +67 -0
  137. package/dist/useLoadMore.module.js +67 -0
  138. package/dist/useLoadMore.module.js.map +1 -0
  139. package/dist/useObjectRef.main.js +37 -0
  140. package/dist/useObjectRef.main.js.map +1 -0
  141. package/dist/useObjectRef.mjs +32 -0
  142. package/dist/useObjectRef.module.js +32 -0
  143. package/dist/useObjectRef.module.js.map +1 -0
  144. package/dist/useResizeObserver.main.js +43 -0
  145. package/dist/useResizeObserver.main.js.map +1 -0
  146. package/dist/useResizeObserver.mjs +38 -0
  147. package/dist/useResizeObserver.module.js +38 -0
  148. package/dist/useResizeObserver.module.js.map +1 -0
  149. package/dist/useSyncRef.main.js +32 -0
  150. package/dist/useSyncRef.main.js.map +1 -0
  151. package/dist/useSyncRef.mjs +27 -0
  152. package/dist/useSyncRef.module.js +27 -0
  153. package/dist/useSyncRef.module.js.map +1 -0
  154. package/dist/useUpdateEffect.main.js +38 -0
  155. package/dist/useUpdateEffect.main.js.map +1 -0
  156. package/dist/useUpdateEffect.mjs +33 -0
  157. package/dist/useUpdateEffect.module.js +33 -0
  158. package/dist/useUpdateEffect.module.js.map +1 -0
  159. package/dist/useValueEffect.main.js +58 -0
  160. package/dist/useValueEffect.main.js.map +1 -0
  161. package/dist/useValueEffect.mjs +53 -0
  162. package/dist/useValueEffect.module.js +53 -0
  163. package/dist/useValueEffect.module.js.map +1 -0
  164. package/dist/useViewportSize.main.js +56 -0
  165. package/dist/useViewportSize.main.js.map +1 -0
  166. package/dist/useViewportSize.mjs +51 -0
  167. package/dist/useViewportSize.module.js +51 -0
  168. package/dist/useViewportSize.module.js.map +1 -0
  169. package/package.json +38 -0
  170. package/src/chain.ts +24 -0
  171. package/src/domHelpers.ts +14 -0
  172. package/src/filterDOMProps.ts +76 -0
  173. package/src/focusWithoutScrolling.ts +96 -0
  174. package/src/getOffset.ts +19 -0
  175. package/src/getScrollParent.ts +27 -0
  176. package/src/getScrollParents.ts +26 -0
  177. package/src/index.ts +44 -0
  178. package/src/isScrollable.ts +22 -0
  179. package/src/isVirtualEvent.ts +58 -0
  180. package/src/mergeProps.ts +75 -0
  181. package/src/mergeRefs.ts +32 -0
  182. package/src/openLink.tsx +183 -0
  183. package/src/platform.ts +79 -0
  184. package/src/runAfterTransition.ts +105 -0
  185. package/src/scrollIntoView.ts +109 -0
  186. package/src/useDeepMemo.ts +27 -0
  187. package/src/useDescription.ts +56 -0
  188. package/src/useDrag1D.ts +190 -0
  189. package/src/useEffectEvent.ts +26 -0
  190. package/src/useEvent.ts +37 -0
  191. package/src/useFormReset.ts +36 -0
  192. package/src/useGlobalListeners.ts +51 -0
  193. package/src/useId.ts +108 -0
  194. package/src/useLabels.ts +48 -0
  195. package/src/useLayoutEffect.ts +20 -0
  196. package/src/useLoadMore.ts +82 -0
  197. package/src/useObjectRef.ts +39 -0
  198. package/src/useResizeObserver.ts +48 -0
  199. package/src/useSyncRef.ts +33 -0
  200. package/src/useUpdateEffect.ts +36 -0
  201. package/src/useValueEffect.ts +64 -0
  202. package/src/useViewportSize.ts +63 -0
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC;AAIM,SAAS,0CAAgB,IAAa,EAAE,gBAA0B;IACvE,IAAI,iBAAiC;IACrC,IAAI,CAAA,GAAA,sCAAW,EAAE,gBAAgB,mBAC/B,iBAAiB,eAAe,aAAa;IAG/C,MAAO,kBAAkB,CAAC,CAAA,GAAA,sCAAW,EAAE,gBAAgB,kBACrD,iBAAiB,eAAe,aAAa;IAG/C,OAAO,kBAAkB,SAAS,gBAAgB,IAAI,SAAS,eAAe;AAChF","sources":["packages/@react-aria/utils/src/getScrollParent.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 {isScrollable} from './isScrollable';\n\nexport function getScrollParent(node: Element, checkForOverflow?: boolean): Element {\n let scrollableNode: Element | null = node;\n if (isScrollable(scrollableNode, checkForOverflow)) {\n scrollableNode = scrollableNode.parentElement;\n }\n\n while (scrollableNode && !isScrollable(scrollableNode, checkForOverflow)) {\n scrollableNode = scrollableNode.parentElement;\n }\n\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n"],"names":[],"version":3,"file":"getScrollParent.main.js.map"}
@@ -0,0 +1,23 @@
1
+ import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from "./isScrollable.mjs";
2
+
3
+ /*
4
+ * Copyright 2020 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 $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {
15
+ let scrollableNode = node;
16
+ if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
17
+ while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;
18
+ return scrollableNode || document.scrollingElement || document.documentElement;
19
+ }
20
+
21
+
22
+ export {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};
23
+ //# sourceMappingURL=getScrollParent.module.js.map
@@ -0,0 +1,23 @@
1
+ import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from "./isScrollable.module.js";
2
+
3
+ /*
4
+ * Copyright 2020 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 $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {
15
+ let scrollableNode = node;
16
+ if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
17
+ while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;
18
+ return scrollableNode || document.scrollingElement || document.documentElement;
19
+ }
20
+
21
+
22
+ export {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};
23
+ //# sourceMappingURL=getScrollParent.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC;AAIM,SAAS,0CAAgB,IAAa,EAAE,gBAA0B;IACvE,IAAI,iBAAiC;IACrC,IAAI,CAAA,GAAA,yCAAW,EAAE,gBAAgB,mBAC/B,iBAAiB,eAAe,aAAa;IAG/C,MAAO,kBAAkB,CAAC,CAAA,GAAA,yCAAW,EAAE,gBAAgB,kBACrD,iBAAiB,eAAe,aAAa;IAG/C,OAAO,kBAAkB,SAAS,gBAAgB,IAAI,SAAS,eAAe;AAChF","sources":["packages/@react-aria/utils/src/getScrollParent.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 {isScrollable} from './isScrollable';\n\nexport function getScrollParent(node: Element, checkForOverflow?: boolean): Element {\n let scrollableNode: Element | null = node;\n if (isScrollable(scrollableNode, checkForOverflow)) {\n scrollableNode = scrollableNode.parentElement;\n }\n\n while (scrollableNode && !isScrollable(scrollableNode, checkForOverflow)) {\n scrollableNode = scrollableNode.parentElement;\n }\n\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n"],"names":[],"version":3,"file":"getScrollParent.module.js.map"}
@@ -0,0 +1,30 @@
1
+ var $9a54e9cd5db23b5d$exports = require("./isScrollable.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, "getScrollParents", () => $49f0d9486c2408aa$export$94ed1c92c7beeb22);
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 $49f0d9486c2408aa$export$94ed1c92c7beeb22(node, checkForOverflow) {
21
+ const scrollParents = [];
22
+ while(node && node !== document.documentElement){
23
+ if ((0, $9a54e9cd5db23b5d$exports.isScrollable)(node, checkForOverflow)) scrollParents.push(node);
24
+ node = node.parentElement;
25
+ }
26
+ return scrollParents;
27
+ }
28
+
29
+
30
+ //# sourceMappingURL=getScrollParents.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC;AAIM,SAAS,0CAAiB,IAAa,EAAE,gBAA0B;IACxE,MAAM,gBAA2B,EAAE;IAEnC,MAAO,QAAQ,SAAS,SAAS,eAAe,CAAE;QAChD,IAAI,CAAA,GAAA,sCAAW,EAAE,MAAM,mBACrB,cAAc,IAAI,CAAC;QAErB,OAAO,KAAK,aAAa;IAC3B;IAEA,OAAO;AACT","sources":["packages/@react-aria/utils/src/getScrollParents.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\nimport {isScrollable} from './isScrollable';\n\nexport function getScrollParents(node: Element, checkForOverflow?: boolean): Element[] {\n const scrollParents: Element[] = [];\n\n while (node && node !== document.documentElement) {\n if (isScrollable(node, checkForOverflow)) {\n scrollParents.push(node);\n }\n node = node.parentElement as Element;\n }\n\n return scrollParents;\n}\n"],"names":[],"version":3,"file":"getScrollParents.main.js.map"}
@@ -0,0 +1,25 @@
1
+ import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from "./isScrollable.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 $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {
15
+ const scrollParents = [];
16
+ while(node && node !== document.documentElement){
17
+ if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);
18
+ node = node.parentElement;
19
+ }
20
+ return scrollParents;
21
+ }
22
+
23
+
24
+ export {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};
25
+ //# sourceMappingURL=getScrollParents.module.js.map
@@ -0,0 +1,25 @@
1
+ import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from "./isScrollable.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 $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {
15
+ const scrollParents = [];
16
+ while(node && node !== document.documentElement){
17
+ if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);
18
+ node = node.parentElement;
19
+ }
20
+ return scrollParents;
21
+ }
22
+
23
+
24
+ export {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};
25
+ //# sourceMappingURL=getScrollParents.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC;AAIM,SAAS,0CAAiB,IAAa,EAAE,gBAA0B;IACxE,MAAM,gBAA2B,EAAE;IAEnC,MAAO,QAAQ,SAAS,SAAS,eAAe,CAAE;QAChD,IAAI,CAAA,GAAA,yCAAW,EAAE,MAAM,mBACrB,cAAc,IAAI,CAAC;QAErB,OAAO,KAAK,aAAa;IAC3B;IAEA,OAAO;AACT","sources":["packages/@react-aria/utils/src/getScrollParents.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\nimport {isScrollable} from './isScrollable';\n\nexport function getScrollParents(node: Element, checkForOverflow?: boolean): Element[] {\n const scrollParents: Element[] = [];\n\n while (node && node !== document.documentElement) {\n if (isScrollable(node, checkForOverflow)) {\n scrollParents.push(node);\n }\n node = node.parentElement as Element;\n }\n\n return scrollParents;\n}\n"],"names":[],"version":3,"file":"getScrollParents.module.js.map"}
@@ -0,0 +1,81 @@
1
+ import {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629, useId as $bdb11010cef70236$export$f680877a34711e37, useSlotId as $bdb11010cef70236$export$b4cc09c592e8fdb8} from "./useId.mjs";
2
+ import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from "./chain.mjs";
3
+ import {getOwnerDocument as $431fbd86ca7dc216$export$b204af158042fbac, getOwnerWindow as $431fbd86ca7dc216$export$f21a1ffae260145a} from "./domHelpers.mjs";
4
+ import {mergeProps as $3ef42575df84b30b$export$9d1611c77c2fe928} from "./mergeProps.mjs";
5
+ import {mergeRefs as $5dc95899b306f630$export$c9058316764c140e} from "./mergeRefs.mjs";
6
+ import {filterDOMProps as $65484d02dcb7eb3e$export$457c3d6518dd4c6f} from "./filterDOMProps.mjs";
7
+ import {focusWithoutScrolling as $7215afc6de606d6b$export$de79e2c695e052f3} from "./focusWithoutScrolling.mjs";
8
+ import {getOffset as $ab71dadb03a6fb2e$export$622cea445a1c5b7d} from "./getOffset.mjs";
9
+ import {getSyntheticLinkProps as $ea8dcbcb9ea1b556$export$51437d503373d223, openLink as $ea8dcbcb9ea1b556$export$95185d699e05d4d7, RouterProvider as $ea8dcbcb9ea1b556$export$323e4fc2fa4753fb, shouldClientNavigate as $ea8dcbcb9ea1b556$export$efa8c9099e530235, useLinkProps as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, useRouter as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, useSyntheticLinkProps as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6} from "./openLink.mjs";
10
+ import {runAfterTransition as $bbed8b41f857bcc0$export$24490316f764c430} from "./runAfterTransition.mjs";
11
+ import {useDrag1D as $9cc09df9fd7676be$export$7bbed75feba39706} from "./useDrag1D.mjs";
12
+ import {useGlobalListeners as $03deb23ff14920c4$export$4eaf04e54aa8eed6} from "./useGlobalListeners.mjs";
13
+ import {useLabels as $313b98861ee5dd6c$export$d6875122194c7b44} from "./useLabels.mjs";
14
+ import {useObjectRef as $df56164dff5785e2$export$4338b53315abf666} from "./useObjectRef.mjs";
15
+ import {useUpdateEffect as $4f58c5f72bcf79f7$export$496315a1608d9602} from "./useUpdateEffect.mjs";
16
+ import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from "./useLayoutEffect.mjs";
17
+ import {useResizeObserver as $9daab02d461809db$export$683480f191c0e3ea} from "./useResizeObserver.mjs";
18
+ import {useSyncRef as $e7801be82b4b2a53$export$4debdb1a3f0fa79e} from "./useSyncRef.mjs";
19
+ import {getScrollParent as $62d8ded9296f3872$export$cfa2225e87938781} from "./getScrollParent.mjs";
20
+ import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from "./getScrollParents.mjs";
21
+ import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from "./isScrollable.mjs";
22
+ import {useViewportSize as $5df64b3807dc15ee$export$d699905dd57c73ca} from "./useViewportSize.mjs";
23
+ import {useDescription as $ef06256079686ba0$export$f8aeda7b10753fa1} from "./useDescription.mjs";
24
+ import {isAndroid as $c87311424ea30a05$export$a11b0059900ceec8, isAppleDevice as $c87311424ea30a05$export$e1865c3bedcd822b, isChrome as $c87311424ea30a05$export$6446a186d09e379e, isFirefox as $c87311424ea30a05$export$b7d78993b74f766d, isIOS as $c87311424ea30a05$export$fedb369cb70207f1, isIPad as $c87311424ea30a05$export$7bef049ce92e4224, isIPhone as $c87311424ea30a05$export$186c6964ca17d99, isMac as $c87311424ea30a05$export$9ac100e40613ea10, isWebKit as $c87311424ea30a05$export$78551043582a6a98} from "./platform.mjs";
25
+ import {useEvent as $e9faafb641e167db$export$90fc3a17d93f704c} from "./useEvent.mjs";
26
+ import {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from "./useValueEffect.mjs";
27
+ import {scrollIntoView as $2f04cbc44ee30ce0$export$53a0910f038337bd, scrollIntoViewport as $2f04cbc44ee30ce0$export$c826860796309d1b} from "./scrollIntoView.mjs";
28
+ import {isVirtualClick as $6a7db85432448f7f$export$60278871457622de, isVirtualPointerEvent as $6a7db85432448f7f$export$29bf1b5f2c56cf63} from "./isVirtualEvent.mjs";
29
+ import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from "./useEffectEvent.mjs";
30
+ import {useDeepMemo as $5a387cc49350e6db$export$722debc0e56fea39} from "./useDeepMemo.mjs";
31
+ import {useFormReset as $99facab73266f662$export$5add1d006293d136} from "./useFormReset.mjs";
32
+ import {useLoadMore as $26f7f3da73fcd9d6$export$7717c92ee915373e} from "./useLoadMore.mjs";
33
+ import {clamp as $4507461a1b870123$re_export$clamp, snapValueToStep as $4507461a1b870123$re_export$snapValueToStep} from "@react-stately/utils";
34
+
35
+ /*
36
+ * Copyright 2020 Adobe. All rights reserved.
37
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
38
+ * you may not use this file except in compliance with the License. You may obtain a copy
39
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
40
+ *
41
+ * Unless required by applicable law or agreed to in writing, software distributed under
42
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
43
+ * OF ANY KIND, either express or implied. See the License for the specific language
44
+ * governing permissions and limitations under the License.
45
+ */
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+ 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, $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};
81
+ //# sourceMappingURL=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, "isScrollable", () => $9a54e9cd5db23b5d$export$2bb74740c4e19def);
7
+ /*
8
+ * Copyright 2024 Adobe. All rights reserved.
9
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License. You may obtain a copy
11
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software distributed under
14
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
15
+ * OF ANY KIND, either express or implied. See the License for the specific language
16
+ * governing permissions and limitations under the License.
17
+ */ function $9a54e9cd5db23b5d$export$2bb74740c4e19def(node, checkForOverflow) {
18
+ let style = window.getComputedStyle(node);
19
+ let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);
20
+ if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;
21
+ return isScrollable;
22
+ }
23
+
24
+
25
+ //# sourceMappingURL=isScrollable.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;AAAA;;;;;;;;;;CAUC,GAEM,SAAS,0CAAa,IAAa,EAAE,gBAA0B;IACpE,IAAI,QAAQ,OAAO,gBAAgB,CAAC;IACpC,IAAI,eAAe,gBAAgB,IAAI,CAAC,MAAM,QAAQ,GAAG,MAAM,SAAS,GAAG,MAAM,SAAS;IAE1F,IAAI,gBAAgB,kBAClB,eAAe,KAAK,YAAY,KAAK,KAAK,YAAY,IAAI,KAAK,WAAW,KAAK,KAAK,WAAW;IAGjG,OAAO;AACT","sources":["packages/@react-aria/utils/src/isScrollable.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\nexport function isScrollable(node: Element, checkForOverflow?: boolean): boolean {\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n\n if (isScrollable && checkForOverflow) {\n isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n }\n\n return isScrollable;\n}\n"],"names":[],"version":3,"file":"isScrollable.main.js.map"}
@@ -0,0 +1,20 @@
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
+ */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {
12
+ let style = window.getComputedStyle(node);
13
+ let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);
14
+ if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;
15
+ return isScrollable;
16
+ }
17
+
18
+
19
+ export {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};
20
+ //# sourceMappingURL=isScrollable.module.js.map
@@ -0,0 +1,20 @@
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
+ */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {
12
+ let style = window.getComputedStyle(node);
13
+ let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);
14
+ if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;
15
+ return isScrollable;
16
+ }
17
+
18
+
19
+ export {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};
20
+ //# sourceMappingURL=isScrollable.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA;;;;;;;;;;CAUC,GAEM,SAAS,0CAAa,IAAa,EAAE,gBAA0B;IACpE,IAAI,QAAQ,OAAO,gBAAgB,CAAC;IACpC,IAAI,eAAe,gBAAgB,IAAI,CAAC,MAAM,QAAQ,GAAG,MAAM,SAAS,GAAG,MAAM,SAAS;IAE1F,IAAI,gBAAgB,kBAClB,eAAe,KAAK,YAAY,KAAK,KAAK,YAAY,IAAI,KAAK,WAAW,KAAK,KAAK,WAAW;IAGjG,OAAO;AACT","sources":["packages/@react-aria/utils/src/isScrollable.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\nexport function isScrollable(node: Element, checkForOverflow?: boolean): boolean {\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n\n if (isScrollable && checkForOverflow) {\n isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n }\n\n return isScrollable;\n}\n"],"names":[],"version":3,"file":"isScrollable.module.js.map"}
@@ -0,0 +1,41 @@
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, "isVirtualClick", () => $577e795361f19be9$export$60278871457622de);
9
+ $parcel$export(module.exports, "isVirtualPointerEvent", () => $577e795361f19be9$export$29bf1b5f2c56cf63);
10
+ /*
11
+ * Copyright 2022 Adobe. All rights reserved.
12
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License. You may obtain a copy
14
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software distributed under
17
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
18
+ * OF ANY KIND, either express or implied. See the License for the specific language
19
+ * governing permissions and limitations under the License.
20
+ */
21
+ function $577e795361f19be9$export$60278871457622de(event) {
22
+ // JAWS/NVDA with Firefox.
23
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
24
+ // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead
25
+ // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check
26
+ // to detect TalkBack virtual clicks.
27
+ if ((0, $9e20cff0af27e8cc$exports.isAndroid)() && event.pointerType) return event.type === 'click' && event.buttons === 1;
28
+ return event.detail === 0 && !event.pointerType;
29
+ }
30
+ function $577e795361f19be9$export$29bf1b5f2c56cf63(event) {
31
+ // If the pointer size is zero, then we assume it's from a screen reader.
32
+ // Android TalkBack double tap will sometimes return a event with width and height of 1
33
+ // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.
34
+ // Cannot use "event.pressure === 0" as the sole check due to Safari pointer events always returning pressure === 0
35
+ // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush
36
+ // Talkback double tap from Windows Firefox touch screen press
37
+ return !(0, $9e20cff0af27e8cc$exports.isAndroid)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';
38
+ }
39
+
40
+
41
+ //# sourceMappingURL=isVirtualEvent.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;AAAA;;;;;;;;;;CAUC;AAeM,SAAS,0CAAe,KAAgC;IAC7D,0BAA0B;IAC1B,IAAI,AAAC,MAAc,cAAc,KAAK,KAAK,MAAM,SAAS,EACxD,OAAO;IAGT,oIAAoI;IACpI,oIAAoI;IACpI,qCAAqC;IACrC,IAAI,CAAA,GAAA,mCAAQ,OAAO,AAAC,MAAuB,WAAW,EACpD,OAAO,MAAM,IAAI,KAAK,WAAW,MAAM,OAAO,KAAK;IAGrD,OAAO,MAAM,MAAM,KAAK,KAAK,CAAC,AAAC,MAAuB,WAAW;AACnE;AAEO,SAAS,0CAAsB,KAAmB;IACvD,yEAAyE;IACzE,uFAAuF;IACvF,kGAAkG;IAClG,mHAAmH;IACnH,oHAAoH;IACpH,8DAA8D;IAC9D,OACE,AAAC,CAAC,CAAA,GAAA,mCAAQ,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,MAAM,KAAK,KACtD,MAAM,KAAK,KAAK,KACf,MAAM,MAAM,KAAK,KACjB,MAAM,QAAQ,KAAK,KACnB,MAAM,MAAM,KAAK,KACjB,MAAM,WAAW,KAAK;AAG5B","sources":["packages/@react-aria/utils/src/isVirtualEvent.ts"],"sourcesContent":["/*\n * Copyright 2022 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 {isAndroid} from './platform';\n\n// Original licensing for the following method can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87\n\n// Keyboards, Assistive Technologies, and element.click() all produce a \"virtual\"\n// click event. This is a method of inferring such clicks. Every browser except\n// IE 11 only sets a zero value of \"detail\" for click events that are \"virtual\".\n// However, IE 11 uses a zero value for all click events. For IE 11 we rely on\n// the quirk that it produces click events that are of type PointerEvent, and\n// where only the \"virtual\" click lacks a pointerType field.\n\nexport function isVirtualClick(event: MouseEvent | PointerEvent): boolean {\n // JAWS/NVDA with Firefox.\n if ((event as any).mozInputSource === 0 && event.isTrusted) {\n return true;\n }\n\n // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead\n // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check\n // to detect TalkBack virtual clicks.\n if (isAndroid() && (event as PointerEvent).pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n\n return event.detail === 0 && !(event as PointerEvent).pointerType;\n}\n\nexport function isVirtualPointerEvent(event: PointerEvent) {\n // If the pointer size is zero, then we assume it's from a screen reader.\n // Android TalkBack double tap will sometimes return a event with width and height of 1\n // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.\n // Cannot use \"event.pressure === 0\" as the sole check due to Safari pointer events always returning pressure === 0\n // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush\n // Talkback double tap from Windows Firefox touch screen press\n return (\n (!isAndroid() && event.width === 0 && event.height === 0) ||\n (event.width === 1 &&\n event.height === 1 &&\n event.pressure === 0 &&\n event.detail === 0 &&\n event.pointerType === 'mouse'\n )\n );\n}\n"],"names":[],"version":3,"file":"isVirtualEvent.main.js.map"}
@@ -0,0 +1,35 @@
1
+ import {isAndroid as $c87311424ea30a05$export$a11b0059900ceec8} from "./platform.mjs";
2
+
3
+ /*
4
+ * Copyright 2022 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 $6a7db85432448f7f$export$60278871457622de(event) {
15
+ // JAWS/NVDA with Firefox.
16
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
17
+ // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead
18
+ // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check
19
+ // to detect TalkBack virtual clicks.
20
+ if ((0, $c87311424ea30a05$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;
21
+ return event.detail === 0 && !event.pointerType;
22
+ }
23
+ function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
24
+ // If the pointer size is zero, then we assume it's from a screen reader.
25
+ // Android TalkBack double tap will sometimes return a event with width and height of 1
26
+ // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.
27
+ // Cannot use "event.pressure === 0" as the sole check due to Safari pointer events always returning pressure === 0
28
+ // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush
29
+ // Talkback double tap from Windows Firefox touch screen press
30
+ return !(0, $c87311424ea30a05$export$a11b0059900ceec8)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';
31
+ }
32
+
33
+
34
+ export {$6a7db85432448f7f$export$60278871457622de as isVirtualClick, $6a7db85432448f7f$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};
35
+ //# sourceMappingURL=isVirtualEvent.module.js.map
@@ -0,0 +1,35 @@
1
+ import {isAndroid as $c87311424ea30a05$export$a11b0059900ceec8} from "./platform.module.js";
2
+
3
+ /*
4
+ * Copyright 2022 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 $6a7db85432448f7f$export$60278871457622de(event) {
15
+ // JAWS/NVDA with Firefox.
16
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
17
+ // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead
18
+ // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check
19
+ // to detect TalkBack virtual clicks.
20
+ if ((0, $c87311424ea30a05$export$a11b0059900ceec8)() && event.pointerType) return event.type === 'click' && event.buttons === 1;
21
+ return event.detail === 0 && !event.pointerType;
22
+ }
23
+ function $6a7db85432448f7f$export$29bf1b5f2c56cf63(event) {
24
+ // If the pointer size is zero, then we assume it's from a screen reader.
25
+ // Android TalkBack double tap will sometimes return a event with width and height of 1
26
+ // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.
27
+ // Cannot use "event.pressure === 0" as the sole check due to Safari pointer events always returning pressure === 0
28
+ // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush
29
+ // Talkback double tap from Windows Firefox touch screen press
30
+ return !(0, $c87311424ea30a05$export$a11b0059900ceec8)() && event.width === 0 && event.height === 0 || event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse';
31
+ }
32
+
33
+
34
+ export {$6a7db85432448f7f$export$60278871457622de as isVirtualClick, $6a7db85432448f7f$export$29bf1b5f2c56cf63 as isVirtualPointerEvent};
35
+ //# sourceMappingURL=isVirtualEvent.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC;AAeM,SAAS,0CAAe,KAAgC;IAC7D,0BAA0B;IAC1B,IAAI,AAAC,MAAc,cAAc,KAAK,KAAK,MAAM,SAAS,EACxD,OAAO;IAGT,oIAAoI;IACpI,oIAAoI;IACpI,qCAAqC;IACrC,IAAI,CAAA,GAAA,yCAAQ,OAAO,AAAC,MAAuB,WAAW,EACpD,OAAO,MAAM,IAAI,KAAK,WAAW,MAAM,OAAO,KAAK;IAGrD,OAAO,MAAM,MAAM,KAAK,KAAK,CAAC,AAAC,MAAuB,WAAW;AACnE;AAEO,SAAS,0CAAsB,KAAmB;IACvD,yEAAyE;IACzE,uFAAuF;IACvF,kGAAkG;IAClG,mHAAmH;IACnH,oHAAoH;IACpH,8DAA8D;IAC9D,OACE,AAAC,CAAC,CAAA,GAAA,yCAAQ,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,MAAM,KAAK,KACtD,MAAM,KAAK,KAAK,KACf,MAAM,MAAM,KAAK,KACjB,MAAM,QAAQ,KAAK,KACnB,MAAM,MAAM,KAAK,KACjB,MAAM,WAAW,KAAK;AAG5B","sources":["packages/@react-aria/utils/src/isVirtualEvent.ts"],"sourcesContent":["/*\n * Copyright 2022 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 {isAndroid} from './platform';\n\n// Original licensing for the following method can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87\n\n// Keyboards, Assistive Technologies, and element.click() all produce a \"virtual\"\n// click event. This is a method of inferring such clicks. Every browser except\n// IE 11 only sets a zero value of \"detail\" for click events that are \"virtual\".\n// However, IE 11 uses a zero value for all click events. For IE 11 we rely on\n// the quirk that it produces click events that are of type PointerEvent, and\n// where only the \"virtual\" click lacks a pointerType field.\n\nexport function isVirtualClick(event: MouseEvent | PointerEvent): boolean {\n // JAWS/NVDA with Firefox.\n if ((event as any).mozInputSource === 0 && event.isTrusted) {\n return true;\n }\n\n // Android TalkBack's detail value varies depending on the event listener providing the event so we have specific logic here instead\n // If pointerType is defined, event is from a click listener. For events from mousedown listener, detail === 0 is a sufficient check\n // to detect TalkBack virtual clicks.\n if (isAndroid() && (event as PointerEvent).pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n\n return event.detail === 0 && !(event as PointerEvent).pointerType;\n}\n\nexport function isVirtualPointerEvent(event: PointerEvent) {\n // If the pointer size is zero, then we assume it's from a screen reader.\n // Android TalkBack double tap will sometimes return a event with width and height of 1\n // and pointerType === 'mouse' so we need to check for a specific combination of event attributes.\n // Cannot use \"event.pressure === 0\" as the sole check due to Safari pointer events always returning pressure === 0\n // instead of .5, see https://bugs.webkit.org/show_bug.cgi?id=206216. event.pointerType === 'mouse' is to distingush\n // Talkback double tap from Windows Firefox touch screen press\n return (\n (!isAndroid() && event.width === 0 && event.height === 0) ||\n (event.width === 1 &&\n event.height === 1 &&\n event.pressure === 0 &&\n event.detail === 0 &&\n event.pointerType === 'mouse'\n )\n );\n}\n"],"names":[],"version":3,"file":"isVirtualEvent.module.js.map"}
package/dist/main.js ADDED
@@ -0,0 +1,138 @@
1
+ var $8c61827343eed941$exports = require("./useId.main.js");
2
+ var $1e2191638e54f613$exports = require("./chain.main.js");
3
+ var $aaa611146751592e$exports = require("./domHelpers.main.js");
4
+ var $f847cd1382ea7cd4$exports = require("./mergeProps.main.js");
5
+ var $f05dc24eafaeb7e2$exports = require("./mergeRefs.main.js");
6
+ var $8d15d0e1797d4238$exports = require("./filterDOMProps.main.js");
7
+ var $1117b6c0d4c4c164$exports = require("./focusWithoutScrolling.main.js");
8
+ var $16ec41ef3e36c19c$exports = require("./getOffset.main.js");
9
+ var $4068a0fae83b6d84$exports = require("./openLink.main.js");
10
+ var $e8117ebcab55be6a$exports = require("./runAfterTransition.main.js");
11
+ var $28ed3fb20343b78b$exports = require("./useDrag1D.main.js");
12
+ var $4571ff54ac709100$exports = require("./useGlobalListeners.main.js");
13
+ var $6ec78bde395c477d$exports = require("./useLabels.main.js");
14
+ var $475b35fe72ba49b3$exports = require("./useObjectRef.main.js");
15
+ var $29293a6f5c75b37e$exports = require("./useUpdateEffect.main.js");
16
+ var $78605a5d7424e31b$exports = require("./useLayoutEffect.main.js");
17
+ var $37733e1652f47193$exports = require("./useResizeObserver.main.js");
18
+ var $6fc733991a9f977c$exports = require("./useSyncRef.main.js");
19
+ var $d796e7157ac96470$exports = require("./getScrollParent.main.js");
20
+ var $49f0d9486c2408aa$exports = require("./getScrollParents.main.js");
21
+ var $9a54e9cd5db23b5d$exports = require("./isScrollable.main.js");
22
+ var $8b24bab62f5c65ad$exports = require("./useViewportSize.main.js");
23
+ var $34da4502ea8120db$exports = require("./useDescription.main.js");
24
+ var $9e20cff0af27e8cc$exports = require("./platform.main.js");
25
+ var $2a8c0bb1629926c8$exports = require("./useEvent.main.js");
26
+ var $19a2307bfabafaf1$exports = require("./useValueEffect.main.js");
27
+ var $449412113267a1fe$exports = require("./scrollIntoView.main.js");
28
+ var $577e795361f19be9$exports = require("./isVirtualEvent.main.js");
29
+ var $1254e5bb94ac8761$exports = require("./useEffectEvent.main.js");
30
+ var $20e6e72fbf5dc81e$exports = require("./useDeepMemo.main.js");
31
+ var $1f205e845604a423$exports = require("./useFormReset.main.js");
32
+ var $faa6ccd6fb62f877$exports = require("./useLoadMore.main.js");
33
+ var $1Yh1N$reactstatelyutils = require("@react-stately/utils");
34
+
35
+
36
+ function $parcel$export(e, n, v, s) {
37
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
38
+ }
39
+
40
+ $parcel$export(module.exports, "useId", () => $8c61827343eed941$exports.useId);
41
+ $parcel$export(module.exports, "mergeIds", () => $8c61827343eed941$exports.mergeIds);
42
+ $parcel$export(module.exports, "useSlotId", () => $8c61827343eed941$exports.useSlotId);
43
+ $parcel$export(module.exports, "chain", () => $1e2191638e54f613$exports.chain);
44
+ $parcel$export(module.exports, "getOwnerDocument", () => $aaa611146751592e$exports.getOwnerDocument);
45
+ $parcel$export(module.exports, "getOwnerWindow", () => $aaa611146751592e$exports.getOwnerWindow);
46
+ $parcel$export(module.exports, "mergeProps", () => $f847cd1382ea7cd4$exports.mergeProps);
47
+ $parcel$export(module.exports, "mergeRefs", () => $f05dc24eafaeb7e2$exports.mergeRefs);
48
+ $parcel$export(module.exports, "filterDOMProps", () => $8d15d0e1797d4238$exports.filterDOMProps);
49
+ $parcel$export(module.exports, "focusWithoutScrolling", () => $1117b6c0d4c4c164$exports.focusWithoutScrolling);
50
+ $parcel$export(module.exports, "getOffset", () => $16ec41ef3e36c19c$exports.getOffset);
51
+ $parcel$export(module.exports, "openLink", () => $4068a0fae83b6d84$exports.openLink);
52
+ $parcel$export(module.exports, "getSyntheticLinkProps", () => $4068a0fae83b6d84$exports.getSyntheticLinkProps);
53
+ $parcel$export(module.exports, "useSyntheticLinkProps", () => $4068a0fae83b6d84$exports.useSyntheticLinkProps);
54
+ $parcel$export(module.exports, "RouterProvider", () => $4068a0fae83b6d84$exports.RouterProvider);
55
+ $parcel$export(module.exports, "shouldClientNavigate", () => $4068a0fae83b6d84$exports.shouldClientNavigate);
56
+ $parcel$export(module.exports, "useRouter", () => $4068a0fae83b6d84$exports.useRouter);
57
+ $parcel$export(module.exports, "useLinkProps", () => $4068a0fae83b6d84$exports.useLinkProps);
58
+ $parcel$export(module.exports, "runAfterTransition", () => $e8117ebcab55be6a$exports.runAfterTransition);
59
+ $parcel$export(module.exports, "useDrag1D", () => $28ed3fb20343b78b$exports.useDrag1D);
60
+ $parcel$export(module.exports, "useGlobalListeners", () => $4571ff54ac709100$exports.useGlobalListeners);
61
+ $parcel$export(module.exports, "useLabels", () => $6ec78bde395c477d$exports.useLabels);
62
+ $parcel$export(module.exports, "useObjectRef", () => $475b35fe72ba49b3$exports.useObjectRef);
63
+ $parcel$export(module.exports, "useUpdateEffect", () => $29293a6f5c75b37e$exports.useUpdateEffect);
64
+ $parcel$export(module.exports, "useLayoutEffect", () => $78605a5d7424e31b$exports.useLayoutEffect);
65
+ $parcel$export(module.exports, "useResizeObserver", () => $37733e1652f47193$exports.useResizeObserver);
66
+ $parcel$export(module.exports, "useSyncRef", () => $6fc733991a9f977c$exports.useSyncRef);
67
+ $parcel$export(module.exports, "getScrollParent", () => $d796e7157ac96470$exports.getScrollParent);
68
+ $parcel$export(module.exports, "getScrollParents", () => $49f0d9486c2408aa$exports.getScrollParents);
69
+ $parcel$export(module.exports, "isScrollable", () => $9a54e9cd5db23b5d$exports.isScrollable);
70
+ $parcel$export(module.exports, "useViewportSize", () => $8b24bab62f5c65ad$exports.useViewportSize);
71
+ $parcel$export(module.exports, "useDescription", () => $34da4502ea8120db$exports.useDescription);
72
+ $parcel$export(module.exports, "isMac", () => $9e20cff0af27e8cc$exports.isMac);
73
+ $parcel$export(module.exports, "isIPhone", () => $9e20cff0af27e8cc$exports.isIPhone);
74
+ $parcel$export(module.exports, "isIPad", () => $9e20cff0af27e8cc$exports.isIPad);
75
+ $parcel$export(module.exports, "isIOS", () => $9e20cff0af27e8cc$exports.isIOS);
76
+ $parcel$export(module.exports, "isAppleDevice", () => $9e20cff0af27e8cc$exports.isAppleDevice);
77
+ $parcel$export(module.exports, "isWebKit", () => $9e20cff0af27e8cc$exports.isWebKit);
78
+ $parcel$export(module.exports, "isChrome", () => $9e20cff0af27e8cc$exports.isChrome);
79
+ $parcel$export(module.exports, "isAndroid", () => $9e20cff0af27e8cc$exports.isAndroid);
80
+ $parcel$export(module.exports, "isFirefox", () => $9e20cff0af27e8cc$exports.isFirefox);
81
+ $parcel$export(module.exports, "useEvent", () => $2a8c0bb1629926c8$exports.useEvent);
82
+ $parcel$export(module.exports, "useValueEffect", () => $19a2307bfabafaf1$exports.useValueEffect);
83
+ $parcel$export(module.exports, "scrollIntoView", () => $449412113267a1fe$exports.scrollIntoView);
84
+ $parcel$export(module.exports, "scrollIntoViewport", () => $449412113267a1fe$exports.scrollIntoViewport);
85
+ $parcel$export(module.exports, "clamp", () => $1Yh1N$reactstatelyutils.clamp);
86
+ $parcel$export(module.exports, "snapValueToStep", () => $1Yh1N$reactstatelyutils.snapValueToStep);
87
+ $parcel$export(module.exports, "isVirtualClick", () => $577e795361f19be9$exports.isVirtualClick);
88
+ $parcel$export(module.exports, "isVirtualPointerEvent", () => $577e795361f19be9$exports.isVirtualPointerEvent);
89
+ $parcel$export(module.exports, "useEffectEvent", () => $1254e5bb94ac8761$exports.useEffectEvent);
90
+ $parcel$export(module.exports, "useDeepMemo", () => $20e6e72fbf5dc81e$exports.useDeepMemo);
91
+ $parcel$export(module.exports, "useFormReset", () => $1f205e845604a423$exports.useFormReset);
92
+ $parcel$export(module.exports, "useLoadMore", () => $faa6ccd6fb62f877$exports.useLoadMore);
93
+ /*
94
+ * Copyright 2020 Adobe. All rights reserved.
95
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
96
+ * you may not use this file except in compliance with the License. You may obtain a copy
97
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
98
+ *
99
+ * Unless required by applicable law or agreed to in writing, software distributed under
100
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
101
+ * OF ANY KIND, either express or implied. See the License for the specific language
102
+ * governing permissions and limitations under the License.
103
+ */
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
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 {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';\n"],"names":[],"version":3,"file":"main.js.map"}