@react-spectrum/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 (64) hide show
  1. package/README.md +3 -0
  2. package/dist/BreakpointProvider.main.js +75 -0
  3. package/dist/BreakpointProvider.main.js.map +1 -0
  4. package/dist/BreakpointProvider.mjs +64 -0
  5. package/dist/BreakpointProvider.module.js +64 -0
  6. package/dist/BreakpointProvider.module.js.map +1 -0
  7. package/dist/Slots.main.js +73 -0
  8. package/dist/Slots.main.js.map +1 -0
  9. package/dist/Slots.mjs +61 -0
  10. package/dist/Slots.module.js +61 -0
  11. package/dist/Slots.module.js.map +1 -0
  12. package/dist/classNames.main.js +50 -0
  13. package/dist/classNames.main.js.map +1 -0
  14. package/dist/classNames.mjs +39 -0
  15. package/dist/classNames.module.js +39 -0
  16. package/dist/classNames.module.js.map +1 -0
  17. package/dist/getWrappedElement.main.js +32 -0
  18. package/dist/getWrappedElement.main.js.map +1 -0
  19. package/dist/getWrappedElement.mjs +23 -0
  20. package/dist/getWrappedElement.module.js +23 -0
  21. package/dist/getWrappedElement.module.js.map +1 -0
  22. package/dist/import.mjs +36 -0
  23. package/dist/main.js +70 -0
  24. package/dist/main.js.map +1 -0
  25. package/dist/module.js +36 -0
  26. package/dist/module.js.map +1 -0
  27. package/dist/styleProps.main.js +468 -0
  28. package/dist/styleProps.main.js.map +1 -0
  29. package/dist/styleProps.mjs +456 -0
  30. package/dist/styleProps.module.js +456 -0
  31. package/dist/styleProps.module.js.map +1 -0
  32. package/dist/types.d.ts +62 -0
  33. package/dist/types.d.ts.map +1 -0
  34. package/dist/useDOMRef.main.js +64 -0
  35. package/dist/useDOMRef.main.js.map +1 -0
  36. package/dist/useDOMRef.mjs +54 -0
  37. package/dist/useDOMRef.module.js +54 -0
  38. package/dist/useDOMRef.module.js.map +1 -0
  39. package/dist/useHasChild.main.js +35 -0
  40. package/dist/useHasChild.main.js.map +1 -0
  41. package/dist/useHasChild.mjs +30 -0
  42. package/dist/useHasChild.module.js +30 -0
  43. package/dist/useHasChild.module.js.map +1 -0
  44. package/dist/useIsMobileDevice.main.js +28 -0
  45. package/dist/useIsMobileDevice.main.js.map +1 -0
  46. package/dist/useIsMobileDevice.mjs +23 -0
  47. package/dist/useIsMobileDevice.module.js +23 -0
  48. package/dist/useIsMobileDevice.module.js.map +1 -0
  49. package/dist/useMediaQuery.main.js +46 -0
  50. package/dist/useMediaQuery.main.js.map +1 -0
  51. package/dist/useMediaQuery.mjs +41 -0
  52. package/dist/useMediaQuery.module.js +41 -0
  53. package/dist/useMediaQuery.module.js.map +1 -0
  54. package/package.json +41 -0
  55. package/src/BreakpointProvider.tsx +92 -0
  56. package/src/Slots.tsx +70 -0
  57. package/src/classNames.ts +56 -0
  58. package/src/getWrappedElement.tsx +23 -0
  59. package/src/index.ts +35 -0
  60. package/src/styleProps.ts +313 -0
  61. package/src/useDOMRef.ts +57 -0
  62. package/src/useHasChild.ts +23 -0
  63. package/src/useIsMobileDevice.ts +24 -0
  64. package/src/useMediaQuery.ts +44 -0
@@ -0,0 +1,23 @@
1
+ import $kaboj$react from "react";
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 $bde65b0159e7c06e$export$a5f5a6912b18861c(children) {
15
+ let element;
16
+ if (typeof children === 'string') element = /*#__PURE__*/ (0, $kaboj$react).createElement("span", null, children);
17
+ else element = (0, $kaboj$react).Children.only(children);
18
+ return element;
19
+ }
20
+
21
+
22
+ export {$bde65b0159e7c06e$export$a5f5a6912b18861c as getWrappedElement};
23
+ //# sourceMappingURL=getWrappedElement.module.js.map
@@ -0,0 +1,23 @@
1
+ import $kaboj$react from "react";
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 $bde65b0159e7c06e$export$a5f5a6912b18861c(children) {
15
+ let element;
16
+ if (typeof children === 'string') element = /*#__PURE__*/ (0, $kaboj$react).createElement("span", null, children);
17
+ else element = (0, $kaboj$react).Children.only(children);
18
+ return element;
19
+ }
20
+
21
+
22
+ export {$bde65b0159e7c06e$export$a5f5a6912b18861c as getWrappedElement};
23
+ //# sourceMappingURL=getWrappedElement.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC;AAIM,SAAS,0CAAkB,QAA2C;IAC3E,IAAI;IACJ,IAAI,OAAO,aAAa,UACtB,wBAAU,gCAAC,cAAM;SAEjB,UAAU,CAAA,GAAA,YAAI,EAAE,QAAQ,CAAC,IAAI,CAAC;IAEhC,OAAO;AACT","sources":["packages/@react-spectrum/utils/src/getWrappedElement.tsx"],"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 React, {JSXElementConstructor, ReactElement, ReactNode} from 'react';\n\nexport function getWrappedElement(children: string | ReactElement | ReactNode): ReactElement<any, JSXElementConstructor<any>> {\n let element;\n if (typeof children === 'string') {\n element = <span>{children}</span>;\n } else {\n element = React.Children.only(children);\n }\n return element;\n}\n"],"names":[],"version":3,"file":"getWrappedElement.module.js.map"}
@@ -0,0 +1,36 @@
1
+ import {classNames as $fd933927dbac1f15$export$ce4ab0c55987d1ff, keepSpectrumClassNames as $fd933927dbac1f15$export$f9d3bfd10703eb31, shouldKeepSpectrumClassNames as $fd933927dbac1f15$export$46d604dce8bf8724} from "./classNames.mjs";
2
+ import {getWrappedElement as $bde65b0159e7c06e$export$a5f5a6912b18861c} from "./getWrappedElement.mjs";
3
+ import {useMediaQuery as $3df547e395c4522f$export$32d5543ab307c01} from "./useMediaQuery.mjs";
4
+ import {createDOMRef as $98e5a8ae0e6415af$export$a5795cc979dfae80, createFocusableRef as $98e5a8ae0e6415af$export$79d69eee6ae4b329, unwrapDOMRef as $98e5a8ae0e6415af$export$c7e28c72a4823176, useDOMRef as $98e5a8ae0e6415af$export$c2c55ef9111cafd8, useFocusableRef as $98e5a8ae0e6415af$export$96a734597687c040, useUnwrapDOMRef as $98e5a8ae0e6415af$export$1d5cc31d9d8df817} from "./useDOMRef.mjs";
5
+ import {baseStyleProps as $380ed8f3903c3931$export$fe9c6e915565b4e8, convertStyleProps as $380ed8f3903c3931$export$f3c39bb9534218d0, dimensionValue as $380ed8f3903c3931$export$abc24f5b99744ea6, getResponsiveProp as $380ed8f3903c3931$export$52dbfdbe1b2c3541, passthroughStyle as $380ed8f3903c3931$export$46b6c81d11d2c30a, responsiveDimensionValue as $380ed8f3903c3931$export$f348bec194f2e6b5, useStyleProps as $380ed8f3903c3931$export$b8e6fb9d2dff3f41, viewStyleProps as $380ed8f3903c3931$export$e0705d1a55f297c} from "./styleProps.mjs";
6
+ import {ClearSlots as $59d09bcc83651bf9$export$ceb145244332b7a2, cssModuleToSlots as $59d09bcc83651bf9$export$365cf34cda9978e2, SlotProvider as $59d09bcc83651bf9$export$8107b24b91795686, useSlotProps as $59d09bcc83651bf9$export$1e5c9e6e4e15efe3} from "./Slots.mjs";
7
+ import {useHasChild as $54cda195bd4173fb$export$e52e2242b6d0f1d4} from "./useHasChild.mjs";
8
+ import {useIsMobileDevice as $fdbe26a36ce1c672$export$736bf165441b18c7} from "./useIsMobileDevice.mjs";
9
+ import {BreakpointProvider as $1051245f87c5981d$export$8214320346cf5104, useBreakpoint as $1051245f87c5981d$export$199d6754bdf4e1e3, useMatchedBreakpoints as $1051245f87c5981d$export$140ae7baa51cca23} from "./BreakpointProvider.mjs";
10
+ import {useValueEffect as $857d64dbfd73d664$re_export$useValueEffect, useResizeObserver as $857d64dbfd73d664$re_export$useResizeObserver} from "@react-aria/utils";
11
+
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
+ */ /// <reference types="css-module-types" />
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+ export {$fd933927dbac1f15$export$46d604dce8bf8724 as shouldKeepSpectrumClassNames, $fd933927dbac1f15$export$f9d3bfd10703eb31 as keepSpectrumClassNames, $fd933927dbac1f15$export$ce4ab0c55987d1ff as classNames, $bde65b0159e7c06e$export$a5f5a6912b18861c as getWrappedElement, $3df547e395c4522f$export$32d5543ab307c01 as useMediaQuery, $98e5a8ae0e6415af$export$a5795cc979dfae80 as createDOMRef, $98e5a8ae0e6415af$export$79d69eee6ae4b329 as createFocusableRef, $98e5a8ae0e6415af$export$c2c55ef9111cafd8 as useDOMRef, $98e5a8ae0e6415af$export$96a734597687c040 as useFocusableRef, $98e5a8ae0e6415af$export$c7e28c72a4823176 as unwrapDOMRef, $98e5a8ae0e6415af$export$1d5cc31d9d8df817 as useUnwrapDOMRef, $380ed8f3903c3931$export$fe9c6e915565b4e8 as baseStyleProps, $380ed8f3903c3931$export$e0705d1a55f297c as viewStyleProps, $380ed8f3903c3931$export$abc24f5b99744ea6 as dimensionValue, $380ed8f3903c3931$export$f348bec194f2e6b5 as responsiveDimensionValue, $380ed8f3903c3931$export$f3c39bb9534218d0 as convertStyleProps, $380ed8f3903c3931$export$b8e6fb9d2dff3f41 as useStyleProps, $380ed8f3903c3931$export$46b6c81d11d2c30a as passthroughStyle, $380ed8f3903c3931$export$52dbfdbe1b2c3541 as getResponsiveProp, $59d09bcc83651bf9$export$1e5c9e6e4e15efe3 as useSlotProps, $59d09bcc83651bf9$export$365cf34cda9978e2 as cssModuleToSlots, $59d09bcc83651bf9$export$8107b24b91795686 as SlotProvider, $59d09bcc83651bf9$export$ceb145244332b7a2 as ClearSlots, $54cda195bd4173fb$export$e52e2242b6d0f1d4 as useHasChild, $fdbe26a36ce1c672$export$736bf165441b18c7 as useIsMobileDevice, $857d64dbfd73d664$re_export$useValueEffect as useValueEffect, $1051245f87c5981d$export$8214320346cf5104 as BreakpointProvider, $1051245f87c5981d$export$140ae7baa51cca23 as useMatchedBreakpoints, $1051245f87c5981d$export$199d6754bdf4e1e3 as useBreakpoint, $857d64dbfd73d664$re_export$useResizeObserver as useResizeObserver};
36
+ //# sourceMappingURL=module.js.map
package/dist/main.js ADDED
@@ -0,0 +1,70 @@
1
+ var $e720495fead531ee$exports = require("./classNames.main.js");
2
+ var $c588c81c05dac184$exports = require("./getWrappedElement.main.js");
3
+ var $471052aafc9c8aac$exports = require("./useMediaQuery.main.js");
4
+ var $749a6c35064cd8c6$exports = require("./useDOMRef.main.js");
5
+ var $d3b73be57066120b$exports = require("./styleProps.main.js");
6
+ var $e81916440cf6fd84$exports = require("./Slots.main.js");
7
+ var $67043c48a01bef79$exports = require("./useHasChild.main.js");
8
+ var $e9c08f6fb6c823d1$exports = require("./useIsMobileDevice.main.js");
9
+ var $893a66ba513f4a66$exports = require("./BreakpointProvider.main.js");
10
+ var $cRUfp$reactariautils = require("@react-aria/utils");
11
+
12
+
13
+ function $parcel$export(e, n, v, s) {
14
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
15
+ }
16
+
17
+ $parcel$export(module.exports, "shouldKeepSpectrumClassNames", () => $e720495fead531ee$exports.shouldKeepSpectrumClassNames);
18
+ $parcel$export(module.exports, "keepSpectrumClassNames", () => $e720495fead531ee$exports.keepSpectrumClassNames);
19
+ $parcel$export(module.exports, "classNames", () => $e720495fead531ee$exports.classNames);
20
+ $parcel$export(module.exports, "getWrappedElement", () => $c588c81c05dac184$exports.getWrappedElement);
21
+ $parcel$export(module.exports, "useMediaQuery", () => $471052aafc9c8aac$exports.useMediaQuery);
22
+ $parcel$export(module.exports, "createDOMRef", () => $749a6c35064cd8c6$exports.createDOMRef);
23
+ $parcel$export(module.exports, "createFocusableRef", () => $749a6c35064cd8c6$exports.createFocusableRef);
24
+ $parcel$export(module.exports, "useDOMRef", () => $749a6c35064cd8c6$exports.useDOMRef);
25
+ $parcel$export(module.exports, "useFocusableRef", () => $749a6c35064cd8c6$exports.useFocusableRef);
26
+ $parcel$export(module.exports, "unwrapDOMRef", () => $749a6c35064cd8c6$exports.unwrapDOMRef);
27
+ $parcel$export(module.exports, "useUnwrapDOMRef", () => $749a6c35064cd8c6$exports.useUnwrapDOMRef);
28
+ $parcel$export(module.exports, "baseStyleProps", () => $d3b73be57066120b$exports.baseStyleProps);
29
+ $parcel$export(module.exports, "viewStyleProps", () => $d3b73be57066120b$exports.viewStyleProps);
30
+ $parcel$export(module.exports, "dimensionValue", () => $d3b73be57066120b$exports.dimensionValue);
31
+ $parcel$export(module.exports, "responsiveDimensionValue", () => $d3b73be57066120b$exports.responsiveDimensionValue);
32
+ $parcel$export(module.exports, "convertStyleProps", () => $d3b73be57066120b$exports.convertStyleProps);
33
+ $parcel$export(module.exports, "useStyleProps", () => $d3b73be57066120b$exports.useStyleProps);
34
+ $parcel$export(module.exports, "passthroughStyle", () => $d3b73be57066120b$exports.passthroughStyle);
35
+ $parcel$export(module.exports, "getResponsiveProp", () => $d3b73be57066120b$exports.getResponsiveProp);
36
+ $parcel$export(module.exports, "useSlotProps", () => $e81916440cf6fd84$exports.useSlotProps);
37
+ $parcel$export(module.exports, "cssModuleToSlots", () => $e81916440cf6fd84$exports.cssModuleToSlots);
38
+ $parcel$export(module.exports, "SlotProvider", () => $e81916440cf6fd84$exports.SlotProvider);
39
+ $parcel$export(module.exports, "ClearSlots", () => $e81916440cf6fd84$exports.ClearSlots);
40
+ $parcel$export(module.exports, "useHasChild", () => $67043c48a01bef79$exports.useHasChild);
41
+ $parcel$export(module.exports, "useIsMobileDevice", () => $e9c08f6fb6c823d1$exports.useIsMobileDevice);
42
+ $parcel$export(module.exports, "useValueEffect", () => $cRUfp$reactariautils.useValueEffect);
43
+ $parcel$export(module.exports, "BreakpointProvider", () => $893a66ba513f4a66$exports.BreakpointProvider);
44
+ $parcel$export(module.exports, "useMatchedBreakpoints", () => $893a66ba513f4a66$exports.useMatchedBreakpoints);
45
+ $parcel$export(module.exports, "useBreakpoint", () => $893a66ba513f4a66$exports.useBreakpoint);
46
+ $parcel$export(module.exports, "useResizeObserver", () => $cRUfp$reactariautils.useResizeObserver);
47
+ /*
48
+ * Copyright 2020 Adobe. All rights reserved.
49
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
50
+ * you may not use this file except in compliance with the License. You may obtain a copy
51
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
52
+ *
53
+ * Unless required by applicable law or agreed to in writing, software distributed under
54
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
55
+ * OF ANY KIND, either express or implied. See the License for the specific language
56
+ * governing permissions and limitations under the License.
57
+ */ /// <reference types="css-module-types" />
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/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 */\n\n/// <reference types=\"css-module-types\" />\n\nexport type {StyleHandlers} from './styleProps';\nexport {shouldKeepSpectrumClassNames, keepSpectrumClassNames, classNames} from './classNames';\nexport {getWrappedElement} from './getWrappedElement';\nexport {useMediaQuery} from './useMediaQuery';\nexport {createDOMRef, createFocusableRef, useDOMRef, useFocusableRef, unwrapDOMRef, useUnwrapDOMRef} from './useDOMRef';\nexport {\n baseStyleProps,\n viewStyleProps,\n dimensionValue,\n responsiveDimensionValue,\n convertStyleProps,\n useStyleProps,\n passthroughStyle,\n getResponsiveProp\n} from './styleProps';\nexport {useSlotProps, cssModuleToSlots, SlotProvider, ClearSlots} from './Slots';\nexport {useHasChild} from './useHasChild';\nexport {useIsMobileDevice} from './useIsMobileDevice';\nexport {useValueEffect} from '@react-aria/utils';\nexport {BreakpointProvider, useMatchedBreakpoints, useBreakpoint} from './BreakpointProvider';\nexport {useResizeObserver} from '@react-aria/utils';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js ADDED
@@ -0,0 +1,36 @@
1
+ import {classNames as $fd933927dbac1f15$export$ce4ab0c55987d1ff, keepSpectrumClassNames as $fd933927dbac1f15$export$f9d3bfd10703eb31, shouldKeepSpectrumClassNames as $fd933927dbac1f15$export$46d604dce8bf8724} from "./classNames.module.js";
2
+ import {getWrappedElement as $bde65b0159e7c06e$export$a5f5a6912b18861c} from "./getWrappedElement.module.js";
3
+ import {useMediaQuery as $3df547e395c4522f$export$32d5543ab307c01} from "./useMediaQuery.module.js";
4
+ import {createDOMRef as $98e5a8ae0e6415af$export$a5795cc979dfae80, createFocusableRef as $98e5a8ae0e6415af$export$79d69eee6ae4b329, unwrapDOMRef as $98e5a8ae0e6415af$export$c7e28c72a4823176, useDOMRef as $98e5a8ae0e6415af$export$c2c55ef9111cafd8, useFocusableRef as $98e5a8ae0e6415af$export$96a734597687c040, useUnwrapDOMRef as $98e5a8ae0e6415af$export$1d5cc31d9d8df817} from "./useDOMRef.module.js";
5
+ import {baseStyleProps as $380ed8f3903c3931$export$fe9c6e915565b4e8, convertStyleProps as $380ed8f3903c3931$export$f3c39bb9534218d0, dimensionValue as $380ed8f3903c3931$export$abc24f5b99744ea6, getResponsiveProp as $380ed8f3903c3931$export$52dbfdbe1b2c3541, passthroughStyle as $380ed8f3903c3931$export$46b6c81d11d2c30a, responsiveDimensionValue as $380ed8f3903c3931$export$f348bec194f2e6b5, useStyleProps as $380ed8f3903c3931$export$b8e6fb9d2dff3f41, viewStyleProps as $380ed8f3903c3931$export$e0705d1a55f297c} from "./styleProps.module.js";
6
+ import {ClearSlots as $59d09bcc83651bf9$export$ceb145244332b7a2, cssModuleToSlots as $59d09bcc83651bf9$export$365cf34cda9978e2, SlotProvider as $59d09bcc83651bf9$export$8107b24b91795686, useSlotProps as $59d09bcc83651bf9$export$1e5c9e6e4e15efe3} from "./Slots.module.js";
7
+ import {useHasChild as $54cda195bd4173fb$export$e52e2242b6d0f1d4} from "./useHasChild.module.js";
8
+ import {useIsMobileDevice as $fdbe26a36ce1c672$export$736bf165441b18c7} from "./useIsMobileDevice.module.js";
9
+ import {BreakpointProvider as $1051245f87c5981d$export$8214320346cf5104, useBreakpoint as $1051245f87c5981d$export$199d6754bdf4e1e3, useMatchedBreakpoints as $1051245f87c5981d$export$140ae7baa51cca23} from "./BreakpointProvider.module.js";
10
+ import {useValueEffect as $857d64dbfd73d664$re_export$useValueEffect, useResizeObserver as $857d64dbfd73d664$re_export$useResizeObserver} from "@react-aria/utils";
11
+
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
+ */ /// <reference types="css-module-types" />
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+ export {$fd933927dbac1f15$export$46d604dce8bf8724 as shouldKeepSpectrumClassNames, $fd933927dbac1f15$export$f9d3bfd10703eb31 as keepSpectrumClassNames, $fd933927dbac1f15$export$ce4ab0c55987d1ff as classNames, $bde65b0159e7c06e$export$a5f5a6912b18861c as getWrappedElement, $3df547e395c4522f$export$32d5543ab307c01 as useMediaQuery, $98e5a8ae0e6415af$export$a5795cc979dfae80 as createDOMRef, $98e5a8ae0e6415af$export$79d69eee6ae4b329 as createFocusableRef, $98e5a8ae0e6415af$export$c2c55ef9111cafd8 as useDOMRef, $98e5a8ae0e6415af$export$96a734597687c040 as useFocusableRef, $98e5a8ae0e6415af$export$c7e28c72a4823176 as unwrapDOMRef, $98e5a8ae0e6415af$export$1d5cc31d9d8df817 as useUnwrapDOMRef, $380ed8f3903c3931$export$fe9c6e915565b4e8 as baseStyleProps, $380ed8f3903c3931$export$e0705d1a55f297c as viewStyleProps, $380ed8f3903c3931$export$abc24f5b99744ea6 as dimensionValue, $380ed8f3903c3931$export$f348bec194f2e6b5 as responsiveDimensionValue, $380ed8f3903c3931$export$f3c39bb9534218d0 as convertStyleProps, $380ed8f3903c3931$export$b8e6fb9d2dff3f41 as useStyleProps, $380ed8f3903c3931$export$46b6c81d11d2c30a as passthroughStyle, $380ed8f3903c3931$export$52dbfdbe1b2c3541 as getResponsiveProp, $59d09bcc83651bf9$export$1e5c9e6e4e15efe3 as useSlotProps, $59d09bcc83651bf9$export$365cf34cda9978e2 as cssModuleToSlots, $59d09bcc83651bf9$export$8107b24b91795686 as SlotProvider, $59d09bcc83651bf9$export$ceb145244332b7a2 as ClearSlots, $54cda195bd4173fb$export$e52e2242b6d0f1d4 as useHasChild, $fdbe26a36ce1c672$export$736bf165441b18c7 as useIsMobileDevice, $857d64dbfd73d664$re_export$useValueEffect as useValueEffect, $1051245f87c5981d$export$8214320346cf5104 as BreakpointProvider, $1051245f87c5981d$export$140ae7baa51cca23 as useMatchedBreakpoints, $1051245f87c5981d$export$199d6754bdf4e1e3 as useBreakpoint, $857d64dbfd73d664$re_export$useResizeObserver as useResizeObserver};
36
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/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 */\n\n/// <reference types=\"css-module-types\" />\n\nexport type {StyleHandlers} from './styleProps';\nexport {shouldKeepSpectrumClassNames, keepSpectrumClassNames, classNames} from './classNames';\nexport {getWrappedElement} from './getWrappedElement';\nexport {useMediaQuery} from './useMediaQuery';\nexport {createDOMRef, createFocusableRef, useDOMRef, useFocusableRef, unwrapDOMRef, useUnwrapDOMRef} from './useDOMRef';\nexport {\n baseStyleProps,\n viewStyleProps,\n dimensionValue,\n responsiveDimensionValue,\n convertStyleProps,\n useStyleProps,\n passthroughStyle,\n getResponsiveProp\n} from './styleProps';\nexport {useSlotProps, cssModuleToSlots, SlotProvider, ClearSlots} from './Slots';\nexport {useHasChild} from './useHasChild';\nexport {useIsMobileDevice} from './useIsMobileDevice';\nexport {useValueEffect} from '@react-aria/utils';\nexport {BreakpointProvider, useMatchedBreakpoints, useBreakpoint} from './BreakpointProvider';\nexport {useResizeObserver} from '@react-aria/utils';\n"],"names":[],"version":3,"file":"module.js.map"}