@react-spectrum/link 3.6.5 → 3.6.7

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.
@@ -0,0 +1,78 @@
1
+ require("./vars.f73dc1cf.css");
2
+ var $094ce2289235a9fa$exports = require("./link_vars_css.main.js");
3
+ var $jQffG$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $jQffG$reactariafocus = require("@react-aria/focus");
5
+ var $jQffG$reactariautils = require("@react-aria/utils");
6
+ var $jQffG$react = require("react");
7
+ var $jQffG$reactariainteractions = require("@react-aria/interactions");
8
+ var $jQffG$reactarialink = require("@react-aria/link");
9
+ var $jQffG$reactspectrumprovider = require("@react-spectrum/provider");
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+
16
+ function $parcel$export(e, n, v, s) {
17
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
18
+ }
19
+
20
+ $parcel$export(module.exports, "Link", () => $1148fb7fc40f1ce2$export$a6c7ac8248d6e38a);
21
+ /*
22
+ * Copyright 2020 Adobe. All rights reserved.
23
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
24
+ * you may not use this file except in compliance with the License. You may obtain a copy
25
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
26
+ *
27
+ * Unless required by applicable law or agreed to in writing, software distributed under
28
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
29
+ * OF ANY KIND, either express or implied. See the License for the specific language
30
+ * governing permissions and limitations under the License.
31
+ */
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+ function $1148fb7fc40f1ce2$export$a6c7ac8248d6e38a(props) {
40
+ props = (0, $jQffG$reactspectrumprovider.useProviderProps)(props);
41
+ props = (0, $jQffG$reactspectrumutils.useSlotProps)(props, 'link');
42
+ let { variant: variant = 'primary', isQuiet: isQuiet, children: children, href: // @ts-ignore
43
+ href } = props;
44
+ let { styleProps: styleProps } = (0, $jQffG$reactspectrumutils.useStyleProps)(props);
45
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $jQffG$reactariainteractions.useHover)({});
46
+ let ref = (0, $jQffG$react.useRef)(null);
47
+ let { linkProps: linkProps } = (0, $jQffG$reactarialink.useLink)({
48
+ ...props,
49
+ elementType: !href && typeof children === 'string' ? 'span' : 'a'
50
+ }, ref);
51
+ let domProps = {
52
+ ...styleProps,
53
+ ...(0, $jQffG$reactariautils.mergeProps)(linkProps, hoverProps),
54
+ ref: ref,
55
+ className: (0, $jQffG$reactspectrumutils.classNames)((0, ($parcel$interopDefault($094ce2289235a9fa$exports))), 'spectrum-Link', {
56
+ 'spectrum-Link--quiet': isQuiet,
57
+ [`spectrum-Link--${variant}`]: variant,
58
+ 'is-hovered': isHovered
59
+ }, styleProps.className)
60
+ };
61
+ let link;
62
+ if (href) link = /*#__PURE__*/ (0, ($parcel$interopDefault($jQffG$react))).createElement("a", domProps, children);
63
+ else {
64
+ // Backward compatibility.
65
+ let wrappedChild = (0, $jQffG$reactspectrumutils.getWrappedElement)(children);
66
+ link = /*#__PURE__*/ (0, ($parcel$interopDefault($jQffG$react))).cloneElement(wrappedChild, {
67
+ ...(0, $jQffG$reactariautils.mergeProps)(wrappedChild.props, domProps),
68
+ // @ts-ignore https://github.com/facebook/react/issues/8873
69
+ ref: wrappedChild.ref ? (0, $jQffG$reactariautils.mergeRefs)(ref, wrappedChild.ref) : ref
70
+ });
71
+ }
72
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($jQffG$react))).createElement((0, $jQffG$reactariafocus.FocusRing), {
73
+ focusRingClass: (0, $jQffG$reactspectrumutils.classNames)((0, ($parcel$interopDefault($094ce2289235a9fa$exports))), 'focus-ring')
74
+ }, link);
75
+ }
76
+
77
+
78
+ //# sourceMappingURL=Link.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAgBM,SAAS,0CAAK,KAAwB;IAC3C,QAAQ,CAAA,GAAA,6CAAe,EAAE;IACzB,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,WACF,UAAU,oBACV,OAAO,YACP,QAAQ,QACR,aAAa;IACb,IAAI,EACL,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,qCAAO,EAAE,CAAC;IAExC,IAAI,MAAM,CAAA,GAAA,mBAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,4BAAM,EAAE;QACxB,GAAG,KAAK;QACR,aAAa,CAAC,QAAQ,OAAO,aAAa,WAAW,SAAS;IAChE,GAAG;IAEH,IAAI,WAAW;QACb,GAAG,UAAU;QACb,GAAG,CAAA,GAAA,gCAAS,EAAE,WAAW,WAAW;aACpC;QACA,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,iBACA;YACE,wBAAwB;YACxB,CAAC,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,EAAE;YAC/B,cAAc;QAChB,GACA,WAAW,SAAS;IAExB;IAEA,IAAI;IACJ,IAAI,MACF,qBAAO,0DAAC,KAAM,UAAW;SACpB;QACL,0BAA0B;QAC1B,IAAI,eAAe,CAAA,GAAA,2CAAgB,EAAE;QACrC,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,cAAc;YACtC,GAAG,CAAA,GAAA,gCAAS,EAAE,aAAa,KAAK,EAAE,SAAS;YAC3C,2DAA2D;YAC3D,KAAK,aAAa,GAAG,GAAG,CAAA,GAAA,+BAAQ,EAAE,KAAK,aAAa,GAAG,IAAI;QAC7D;IACF;IAGA,qBACE,0DAAC,CAAA,GAAA,+BAAQ;QAAE,gBAAgB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,mDAAK,GAAG;OAC3C;AAGP","sources":["packages/@react-spectrum/link/src/Link.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 {classNames, getWrappedElement, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps, mergeRefs} from '@react-aria/utils';\nimport React, {JSX, useRef} from 'react';\nimport {SpectrumLinkProps} from '@react-types/link';\nimport styles from '@adobe/spectrum-css-temp/components/link/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useLink} from '@react-aria/link';\nimport {useProviderProps} from '@react-spectrum/provider';\n\n/**\n * Links allow users to navigate to a different location.\n * They can be presented inline inside a paragraph or as standalone text.\n */\nexport function Link(props: SpectrumLinkProps) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'link');\n let {\n variant = 'primary',\n isQuiet,\n children,\n // @ts-ignore\n href\n } = props;\n let {styleProps} = useStyleProps(props);\n let {hoverProps, isHovered} = useHover({});\n\n let ref = useRef(null);\n let {linkProps} = useLink({\n ...props,\n elementType: !href && typeof children === 'string' ? 'span' : 'a'\n }, ref);\n\n let domProps = {\n ...styleProps,\n ...mergeProps(linkProps, hoverProps),\n ref,\n className: classNames(\n styles,\n 'spectrum-Link',\n {\n 'spectrum-Link--quiet': isQuiet,\n [`spectrum-Link--${variant}`]: variant,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n };\n\n let link: JSX.Element;\n if (href) {\n link = <a {...domProps}>{children}</a>;\n } else {\n // Backward compatibility.\n let wrappedChild = getWrappedElement(children);\n link = React.cloneElement(wrappedChild, {\n ...mergeProps(wrappedChild.props, domProps),\n // @ts-ignore https://github.com/facebook/react/issues/8873\n ref: wrappedChild.ref ? mergeRefs(ref, wrappedChild.ref) : ref\n });\n }\n\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')}>\n {link}\n </FocusRing>\n );\n}\n"],"names":[],"version":3,"file":"Link.main.js.map"}
package/dist/Link.mjs ADDED
@@ -0,0 +1,73 @@
1
+ import "./vars.f73dc1cf.css";
2
+ import $35Vau$link_vars_cssmodulejs from "./link_vars_css.mjs";
3
+ import {useSlotProps as $35Vau$useSlotProps, useStyleProps as $35Vau$useStyleProps, classNames as $35Vau$classNames, getWrappedElement as $35Vau$getWrappedElement} from "@react-spectrum/utils";
4
+ import {FocusRing as $35Vau$FocusRing} from "@react-aria/focus";
5
+ import {mergeProps as $35Vau$mergeProps, mergeRefs as $35Vau$mergeRefs} from "@react-aria/utils";
6
+ import $35Vau$react, {useRef as $35Vau$useRef} from "react";
7
+ import {useHover as $35Vau$useHover} from "@react-aria/interactions";
8
+ import {useLink as $35Vau$useLink} from "@react-aria/link";
9
+ import {useProviderProps as $35Vau$useProviderProps} from "@react-spectrum/provider";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a(props) {
34
+ props = (0, $35Vau$useProviderProps)(props);
35
+ props = (0, $35Vau$useSlotProps)(props, 'link');
36
+ let { variant: variant = 'primary', isQuiet: isQuiet, children: children, href: // @ts-ignore
37
+ href } = props;
38
+ let { styleProps: styleProps } = (0, $35Vau$useStyleProps)(props);
39
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $35Vau$useHover)({});
40
+ let ref = (0, $35Vau$useRef)(null);
41
+ let { linkProps: linkProps } = (0, $35Vau$useLink)({
42
+ ...props,
43
+ elementType: !href && typeof children === 'string' ? 'span' : 'a'
44
+ }, ref);
45
+ let domProps = {
46
+ ...styleProps,
47
+ ...(0, $35Vau$mergeProps)(linkProps, hoverProps),
48
+ ref: ref,
49
+ className: (0, $35Vau$classNames)((0, ($parcel$interopDefault($35Vau$link_vars_cssmodulejs))), 'spectrum-Link', {
50
+ 'spectrum-Link--quiet': isQuiet,
51
+ [`spectrum-Link--${variant}`]: variant,
52
+ 'is-hovered': isHovered
53
+ }, styleProps.className)
54
+ };
55
+ let link;
56
+ if (href) link = /*#__PURE__*/ (0, $35Vau$react).createElement("a", domProps, children);
57
+ else {
58
+ // Backward compatibility.
59
+ let wrappedChild = (0, $35Vau$getWrappedElement)(children);
60
+ link = /*#__PURE__*/ (0, $35Vau$react).cloneElement(wrappedChild, {
61
+ ...(0, $35Vau$mergeProps)(wrappedChild.props, domProps),
62
+ // @ts-ignore https://github.com/facebook/react/issues/8873
63
+ ref: wrappedChild.ref ? (0, $35Vau$mergeRefs)(ref, wrappedChild.ref) : ref
64
+ });
65
+ }
66
+ return /*#__PURE__*/ (0, $35Vau$react).createElement((0, $35Vau$FocusRing), {
67
+ focusRingClass: (0, $35Vau$classNames)((0, ($parcel$interopDefault($35Vau$link_vars_cssmodulejs))), 'focus-ring')
68
+ }, link);
69
+ }
70
+
71
+
72
+ export {$3c5235ac12f2c9bb$export$a6c7ac8248d6e38a as Link};
73
+ //# sourceMappingURL=Link.module.js.map
@@ -0,0 +1,73 @@
1
+ import "./vars.f73dc1cf.css";
2
+ import $35Vau$link_vars_cssmodulejs from "./link_vars_css.module.js";
3
+ import {useSlotProps as $35Vau$useSlotProps, useStyleProps as $35Vau$useStyleProps, classNames as $35Vau$classNames, getWrappedElement as $35Vau$getWrappedElement} from "@react-spectrum/utils";
4
+ import {FocusRing as $35Vau$FocusRing} from "@react-aria/focus";
5
+ import {mergeProps as $35Vau$mergeProps, mergeRefs as $35Vau$mergeRefs} from "@react-aria/utils";
6
+ import $35Vau$react, {useRef as $35Vau$useRef} from "react";
7
+ import {useHover as $35Vau$useHover} from "@react-aria/interactions";
8
+ import {useLink as $35Vau$useLink} from "@react-aria/link";
9
+ import {useProviderProps as $35Vau$useProviderProps} from "@react-spectrum/provider";
10
+
11
+
12
+ function $parcel$interopDefault(a) {
13
+ return a && a.__esModule ? a.default : a;
14
+ }
15
+ /*
16
+ * Copyright 2020 Adobe. All rights reserved.
17
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
18
+ * you may not use this file except in compliance with the License. You may obtain a copy
19
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software distributed under
22
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
23
+ * OF ANY KIND, either express or implied. See the License for the specific language
24
+ * governing permissions and limitations under the License.
25
+ */
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+ function $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a(props) {
34
+ props = (0, $35Vau$useProviderProps)(props);
35
+ props = (0, $35Vau$useSlotProps)(props, 'link');
36
+ let { variant: variant = 'primary', isQuiet: isQuiet, children: children, href: // @ts-ignore
37
+ href } = props;
38
+ let { styleProps: styleProps } = (0, $35Vau$useStyleProps)(props);
39
+ let { hoverProps: hoverProps, isHovered: isHovered } = (0, $35Vau$useHover)({});
40
+ let ref = (0, $35Vau$useRef)(null);
41
+ let { linkProps: linkProps } = (0, $35Vau$useLink)({
42
+ ...props,
43
+ elementType: !href && typeof children === 'string' ? 'span' : 'a'
44
+ }, ref);
45
+ let domProps = {
46
+ ...styleProps,
47
+ ...(0, $35Vau$mergeProps)(linkProps, hoverProps),
48
+ ref: ref,
49
+ className: (0, $35Vau$classNames)((0, ($parcel$interopDefault($35Vau$link_vars_cssmodulejs))), 'spectrum-Link', {
50
+ 'spectrum-Link--quiet': isQuiet,
51
+ [`spectrum-Link--${variant}`]: variant,
52
+ 'is-hovered': isHovered
53
+ }, styleProps.className)
54
+ };
55
+ let link;
56
+ if (href) link = /*#__PURE__*/ (0, $35Vau$react).createElement("a", domProps, children);
57
+ else {
58
+ // Backward compatibility.
59
+ let wrappedChild = (0, $35Vau$getWrappedElement)(children);
60
+ link = /*#__PURE__*/ (0, $35Vau$react).cloneElement(wrappedChild, {
61
+ ...(0, $35Vau$mergeProps)(wrappedChild.props, domProps),
62
+ // @ts-ignore https://github.com/facebook/react/issues/8873
63
+ ref: wrappedChild.ref ? (0, $35Vau$mergeRefs)(ref, wrappedChild.ref) : ref
64
+ });
65
+ }
66
+ return /*#__PURE__*/ (0, $35Vau$react).createElement((0, $35Vau$FocusRing), {
67
+ focusRingClass: (0, $35Vau$classNames)((0, ($parcel$interopDefault($35Vau$link_vars_cssmodulejs))), 'focus-ring')
68
+ }, link);
69
+ }
70
+
71
+
72
+ export {$3c5235ac12f2c9bb$export$a6c7ac8248d6e38a as Link};
73
+ //# sourceMappingURL=Link.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;AAgBM,SAAS,0CAAK,KAAwB;IAC3C,QAAQ,CAAA,GAAA,uBAAe,EAAE;IACzB,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,WACF,UAAU,oBACV,OAAO,YACP,QAAQ,QACR,aAAa;IACb,IAAI,EACL,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,eAAO,EAAE,CAAC;IAExC,IAAI,MAAM,CAAA,GAAA,aAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,cAAM,EAAE;QACxB,GAAG,KAAK;QACR,aAAa,CAAC,QAAQ,OAAO,aAAa,WAAW,SAAS;IAChE,GAAG;IAEH,IAAI,WAAW;QACb,GAAG,UAAU;QACb,GAAG,CAAA,GAAA,iBAAS,EAAE,WAAW,WAAW;aACpC;QACA,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,sDAAK,GACL,iBACA;YACE,wBAAwB;YACxB,CAAC,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,EAAE;YAC/B,cAAc;QAChB,GACA,WAAW,SAAS;IAExB;IAEA,IAAI;IACJ,IAAI,MACF,qBAAO,gCAAC,KAAM,UAAW;SACpB;QACL,0BAA0B;QAC1B,IAAI,eAAe,CAAA,GAAA,wBAAgB,EAAE;QACrC,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,cAAc;YACtC,GAAG,CAAA,GAAA,iBAAS,EAAE,aAAa,KAAK,EAAE,SAAS;YAC3C,2DAA2D;YAC3D,KAAK,aAAa,GAAG,GAAG,CAAA,GAAA,gBAAQ,EAAE,KAAK,aAAa,GAAG,IAAI;QAC7D;IACF;IAGA,qBACE,gCAAC,CAAA,GAAA,gBAAQ;QAAE,gBAAgB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,sDAAK,GAAG;OAC3C;AAGP","sources":["packages/@react-spectrum/link/src/Link.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 {classNames, getWrappedElement, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps, mergeRefs} from '@react-aria/utils';\nimport React, {JSX, useRef} from 'react';\nimport {SpectrumLinkProps} from '@react-types/link';\nimport styles from '@adobe/spectrum-css-temp/components/link/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useLink} from '@react-aria/link';\nimport {useProviderProps} from '@react-spectrum/provider';\n\n/**\n * Links allow users to navigate to a different location.\n * They can be presented inline inside a paragraph or as standalone text.\n */\nexport function Link(props: SpectrumLinkProps) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'link');\n let {\n variant = 'primary',\n isQuiet,\n children,\n // @ts-ignore\n href\n } = props;\n let {styleProps} = useStyleProps(props);\n let {hoverProps, isHovered} = useHover({});\n\n let ref = useRef(null);\n let {linkProps} = useLink({\n ...props,\n elementType: !href && typeof children === 'string' ? 'span' : 'a'\n }, ref);\n\n let domProps = {\n ...styleProps,\n ...mergeProps(linkProps, hoverProps),\n ref,\n className: classNames(\n styles,\n 'spectrum-Link',\n {\n 'spectrum-Link--quiet': isQuiet,\n [`spectrum-Link--${variant}`]: variant,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n };\n\n let link: JSX.Element;\n if (href) {\n link = <a {...domProps}>{children}</a>;\n } else {\n // Backward compatibility.\n let wrappedChild = getWrappedElement(children);\n link = React.cloneElement(wrappedChild, {\n ...mergeProps(wrappedChild.props, domProps),\n // @ts-ignore https://github.com/facebook/react/issues/8873\n ref: wrappedChild.ref ? mergeRefs(ref, wrappedChild.ref) : ref\n });\n }\n\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')}>\n {link}\n </FocusRing>\n );\n}\n"],"names":[],"version":3,"file":"Link.module.js.map"}
package/dist/import.mjs CHANGED
@@ -1,20 +1,5 @@
1
- import "./main.css";
2
- import {useSlotProps as $11MUV$useSlotProps, useStyleProps as $11MUV$useStyleProps, classNames as $11MUV$classNames, getWrappedElement as $11MUV$getWrappedElement} from "@react-spectrum/utils";
3
- import {FocusRing as $11MUV$FocusRing} from "@react-aria/focus";
4
- import {mergeProps as $11MUV$mergeProps, mergeRefs as $11MUV$mergeRefs} from "@react-aria/utils";
5
- import $11MUV$react, {useRef as $11MUV$useRef} from "react";
6
- import {useHover as $11MUV$useHover} from "@react-aria/interactions";
7
- import {useLink as $11MUV$useLink} from "@react-aria/link";
8
- import {useProviderProps as $11MUV$useProviderProps} from "@react-spectrum/provider";
1
+ import {Link as $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a} from "./Link.mjs";
9
2
 
10
-
11
- function $parcel$interopDefault(a) {
12
- return a && a.__esModule ? a.default : a;
13
- }
14
-
15
- function $parcel$export(e, n, v, s) {
16
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
17
- }
18
3
  /*
19
4
  * Copyright 2020 Adobe. All rights reserved.
20
5
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -26,98 +11,6 @@ function $parcel$export(e, n, v, s) {
26
11
  * OF ANY KIND, either express or implied. See the License for the specific language
27
12
  * governing permissions and limitations under the License.
28
13
  */ /// <reference types="css-module-types" />
29
- /*
30
- * Copyright 2020 Adobe. All rights reserved.
31
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
32
- * you may not use this file except in compliance with the License. You may obtain a copy
33
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
34
- *
35
- * Unless required by applicable law or agreed to in writing, software distributed under
36
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
37
- * OF ANY KIND, either express or implied. See the License for the specific language
38
- * governing permissions and limitations under the License.
39
- */
40
-
41
-
42
-
43
- var $4564c6c10d1690b3$exports = {};
44
-
45
- $parcel$export($4564c6c10d1690b3$exports, "focus-ring", () => $4564c6c10d1690b3$export$f39a09f249340e2a, (v) => $4564c6c10d1690b3$export$f39a09f249340e2a = v);
46
- $parcel$export($4564c6c10d1690b3$exports, "i18nFontFamily", () => $4564c6c10d1690b3$export$8c4ee2c50c22c514, (v) => $4564c6c10d1690b3$export$8c4ee2c50c22c514 = v);
47
- $parcel$export($4564c6c10d1690b3$exports, "is-disabled", () => $4564c6c10d1690b3$export$d35bc1e505d1ebbf, (v) => $4564c6c10d1690b3$export$d35bc1e505d1ebbf = v);
48
- $parcel$export($4564c6c10d1690b3$exports, "is-hovered", () => $4564c6c10d1690b3$export$b8813cd5d7824ce7, (v) => $4564c6c10d1690b3$export$b8813cd5d7824ce7 = v);
49
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing-ring", () => $4564c6c10d1690b3$export$4109102f950813a6, (v) => $4564c6c10d1690b3$export$4109102f950813a6 = v);
50
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing", () => $4564c6c10d1690b3$export$24c7f46a6e3605dd, (v) => $4564c6c10d1690b3$export$24c7f46a6e3605dd = v);
51
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing--quiet", () => $4564c6c10d1690b3$export$2927016961429360, (v) => $4564c6c10d1690b3$export$2927016961429360 = v);
52
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link", () => $4564c6c10d1690b3$export$d85dd8b94975f388, (v) => $4564c6c10d1690b3$export$d85dd8b94975f388 = v);
53
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--overBackground", () => $4564c6c10d1690b3$export$679b6267148797da, (v) => $4564c6c10d1690b3$export$679b6267148797da = v);
54
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--quiet", () => $4564c6c10d1690b3$export$81921ea93435e997, (v) => $4564c6c10d1690b3$export$81921ea93435e997 = v);
55
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--secondary", () => $4564c6c10d1690b3$export$ab09ed292dcb9a79, (v) => $4564c6c10d1690b3$export$ab09ed292dcb9a79 = v);
56
- var $4564c6c10d1690b3$export$f39a09f249340e2a;
57
- var $4564c6c10d1690b3$export$8c4ee2c50c22c514;
58
- var $4564c6c10d1690b3$export$d35bc1e505d1ebbf;
59
- var $4564c6c10d1690b3$export$b8813cd5d7824ce7;
60
- var $4564c6c10d1690b3$export$4109102f950813a6;
61
- var $4564c6c10d1690b3$export$24c7f46a6e3605dd;
62
- var $4564c6c10d1690b3$export$2927016961429360;
63
- var $4564c6c10d1690b3$export$d85dd8b94975f388;
64
- var $4564c6c10d1690b3$export$679b6267148797da;
65
- var $4564c6c10d1690b3$export$81921ea93435e997;
66
- var $4564c6c10d1690b3$export$ab09ed292dcb9a79;
67
- $4564c6c10d1690b3$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
68
- $4564c6c10d1690b3$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
69
- $4564c6c10d1690b3$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
70
- $4564c6c10d1690b3$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
71
- $4564c6c10d1690b3$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
72
- $4564c6c10d1690b3$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$4564c6c10d1690b3$export$4109102f950813a6}`;
73
- $4564c6c10d1690b3$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
74
- $4564c6c10d1690b3$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
75
- $4564c6c10d1690b3$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
76
- $4564c6c10d1690b3$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
77
- $4564c6c10d1690b3$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
78
-
79
-
80
-
81
-
82
-
83
- function $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a(props) {
84
- props = (0, $11MUV$useProviderProps)(props);
85
- props = (0, $11MUV$useSlotProps)(props, "link");
86
- let { variant: variant = "primary", isQuiet: isQuiet, children: children, href: // @ts-ignore
87
- href } = props;
88
- let { styleProps: styleProps } = (0, $11MUV$useStyleProps)(props);
89
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $11MUV$useHover)({});
90
- let ref = (0, $11MUV$useRef)(null);
91
- let { linkProps: linkProps } = (0, $11MUV$useLink)({
92
- ...props,
93
- elementType: !href && typeof children === "string" ? "span" : "a"
94
- }, ref);
95
- let domProps = {
96
- ...styleProps,
97
- ...(0, $11MUV$mergeProps)(linkProps, hoverProps),
98
- ref: ref,
99
- className: (0, $11MUV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4564c6c10d1690b3$exports))), "spectrum-Link", {
100
- "spectrum-Link--quiet": isQuiet,
101
- [`spectrum-Link--${variant}`]: variant,
102
- "is-hovered": isHovered
103
- }, styleProps.className)
104
- };
105
- let link;
106
- if (href) link = /*#__PURE__*/ (0, $11MUV$react).createElement("a", domProps, children);
107
- else {
108
- // Backward compatibility.
109
- let wrappedChild = (0, $11MUV$getWrappedElement)(children);
110
- link = /*#__PURE__*/ (0, $11MUV$react).cloneElement(wrappedChild, {
111
- ...(0, $11MUV$mergeProps)(wrappedChild.props, domProps),
112
- // @ts-ignore https://github.com/facebook/react/issues/8873
113
- ref: wrappedChild.ref ? (0, $11MUV$mergeRefs)(ref, wrappedChild.ref) : ref
114
- });
115
- }
116
- return /*#__PURE__*/ (0, $11MUV$react).createElement((0, $11MUV$FocusRing), {
117
- focusRingClass: (0, $11MUV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4564c6c10d1690b3$exports))), "focus-ring")
118
- }, link);
119
- }
120
-
121
14
 
122
15
 
123
16
 
@@ -0,0 +1,41 @@
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, "focus-ring", () => $094ce2289235a9fa$export$f39a09f249340e2a, (v) => $094ce2289235a9fa$export$f39a09f249340e2a = v);
7
+ $parcel$export(module.exports, "i18nFontFamily", () => $094ce2289235a9fa$export$8c4ee2c50c22c514, (v) => $094ce2289235a9fa$export$8c4ee2c50c22c514 = v);
8
+ $parcel$export(module.exports, "is-disabled", () => $094ce2289235a9fa$export$d35bc1e505d1ebbf, (v) => $094ce2289235a9fa$export$d35bc1e505d1ebbf = v);
9
+ $parcel$export(module.exports, "is-hovered", () => $094ce2289235a9fa$export$b8813cd5d7824ce7, (v) => $094ce2289235a9fa$export$b8813cd5d7824ce7 = v);
10
+ $parcel$export(module.exports, "spectrum-FocusRing-ring", () => $094ce2289235a9fa$export$4109102f950813a6, (v) => $094ce2289235a9fa$export$4109102f950813a6 = v);
11
+ $parcel$export(module.exports, "spectrum-FocusRing", () => $094ce2289235a9fa$export$24c7f46a6e3605dd, (v) => $094ce2289235a9fa$export$24c7f46a6e3605dd = v);
12
+ $parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $094ce2289235a9fa$export$2927016961429360, (v) => $094ce2289235a9fa$export$2927016961429360 = v);
13
+ $parcel$export(module.exports, "spectrum-Link", () => $094ce2289235a9fa$export$d85dd8b94975f388, (v) => $094ce2289235a9fa$export$d85dd8b94975f388 = v);
14
+ $parcel$export(module.exports, "spectrum-Link--overBackground", () => $094ce2289235a9fa$export$679b6267148797da, (v) => $094ce2289235a9fa$export$679b6267148797da = v);
15
+ $parcel$export(module.exports, "spectrum-Link--quiet", () => $094ce2289235a9fa$export$81921ea93435e997, (v) => $094ce2289235a9fa$export$81921ea93435e997 = v);
16
+ $parcel$export(module.exports, "spectrum-Link--secondary", () => $094ce2289235a9fa$export$ab09ed292dcb9a79, (v) => $094ce2289235a9fa$export$ab09ed292dcb9a79 = v);
17
+ var $094ce2289235a9fa$export$f39a09f249340e2a;
18
+ var $094ce2289235a9fa$export$8c4ee2c50c22c514;
19
+ var $094ce2289235a9fa$export$d35bc1e505d1ebbf;
20
+ var $094ce2289235a9fa$export$b8813cd5d7824ce7;
21
+ var $094ce2289235a9fa$export$4109102f950813a6;
22
+ var $094ce2289235a9fa$export$24c7f46a6e3605dd;
23
+ var $094ce2289235a9fa$export$2927016961429360;
24
+ var $094ce2289235a9fa$export$d85dd8b94975f388;
25
+ var $094ce2289235a9fa$export$679b6267148797da;
26
+ var $094ce2289235a9fa$export$81921ea93435e997;
27
+ var $094ce2289235a9fa$export$ab09ed292dcb9a79;
28
+ $094ce2289235a9fa$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
29
+ $094ce2289235a9fa$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
30
+ $094ce2289235a9fa$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
31
+ $094ce2289235a9fa$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
32
+ $094ce2289235a9fa$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
33
+ $094ce2289235a9fa$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$094ce2289235a9fa$export$4109102f950813a6}`;
34
+ $094ce2289235a9fa$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
35
+ $094ce2289235a9fa$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
36
+ $094ce2289235a9fa$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
37
+ $094ce2289235a9fa$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
38
+ $094ce2289235a9fa$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
39
+
40
+
41
+ //# sourceMappingURL=link_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC;AACxD,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA6C,CAAC,+BAA+B,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"link_vars_css.main.js.map"}
@@ -0,0 +1,43 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+ var $4564c6c10d1690b3$exports = {};
6
+
7
+ $parcel$export($4564c6c10d1690b3$exports, "focus-ring", () => $4564c6c10d1690b3$export$f39a09f249340e2a, (v) => $4564c6c10d1690b3$export$f39a09f249340e2a = v);
8
+ $parcel$export($4564c6c10d1690b3$exports, "i18nFontFamily", () => $4564c6c10d1690b3$export$8c4ee2c50c22c514, (v) => $4564c6c10d1690b3$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($4564c6c10d1690b3$exports, "is-disabled", () => $4564c6c10d1690b3$export$d35bc1e505d1ebbf, (v) => $4564c6c10d1690b3$export$d35bc1e505d1ebbf = v);
10
+ $parcel$export($4564c6c10d1690b3$exports, "is-hovered", () => $4564c6c10d1690b3$export$b8813cd5d7824ce7, (v) => $4564c6c10d1690b3$export$b8813cd5d7824ce7 = v);
11
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing-ring", () => $4564c6c10d1690b3$export$4109102f950813a6, (v) => $4564c6c10d1690b3$export$4109102f950813a6 = v);
12
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing", () => $4564c6c10d1690b3$export$24c7f46a6e3605dd, (v) => $4564c6c10d1690b3$export$24c7f46a6e3605dd = v);
13
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing--quiet", () => $4564c6c10d1690b3$export$2927016961429360, (v) => $4564c6c10d1690b3$export$2927016961429360 = v);
14
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link", () => $4564c6c10d1690b3$export$d85dd8b94975f388, (v) => $4564c6c10d1690b3$export$d85dd8b94975f388 = v);
15
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--overBackground", () => $4564c6c10d1690b3$export$679b6267148797da, (v) => $4564c6c10d1690b3$export$679b6267148797da = v);
16
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--quiet", () => $4564c6c10d1690b3$export$81921ea93435e997, (v) => $4564c6c10d1690b3$export$81921ea93435e997 = v);
17
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--secondary", () => $4564c6c10d1690b3$export$ab09ed292dcb9a79, (v) => $4564c6c10d1690b3$export$ab09ed292dcb9a79 = v);
18
+ var $4564c6c10d1690b3$export$f39a09f249340e2a;
19
+ var $4564c6c10d1690b3$export$8c4ee2c50c22c514;
20
+ var $4564c6c10d1690b3$export$d35bc1e505d1ebbf;
21
+ var $4564c6c10d1690b3$export$b8813cd5d7824ce7;
22
+ var $4564c6c10d1690b3$export$4109102f950813a6;
23
+ var $4564c6c10d1690b3$export$24c7f46a6e3605dd;
24
+ var $4564c6c10d1690b3$export$2927016961429360;
25
+ var $4564c6c10d1690b3$export$d85dd8b94975f388;
26
+ var $4564c6c10d1690b3$export$679b6267148797da;
27
+ var $4564c6c10d1690b3$export$81921ea93435e997;
28
+ var $4564c6c10d1690b3$export$ab09ed292dcb9a79;
29
+ $4564c6c10d1690b3$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
30
+ $4564c6c10d1690b3$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
31
+ $4564c6c10d1690b3$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
32
+ $4564c6c10d1690b3$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
33
+ $4564c6c10d1690b3$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
34
+ $4564c6c10d1690b3$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$4564c6c10d1690b3$export$4109102f950813a6}`;
35
+ $4564c6c10d1690b3$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
36
+ $4564c6c10d1690b3$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
37
+ $4564c6c10d1690b3$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
38
+ $4564c6c10d1690b3$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
39
+ $4564c6c10d1690b3$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
40
+
41
+
42
+ export {$4564c6c10d1690b3$exports as default};
43
+ //# sourceMappingURL=link_vars_css.module.js.map
@@ -0,0 +1,43 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+ var $4564c6c10d1690b3$exports = {};
6
+
7
+ $parcel$export($4564c6c10d1690b3$exports, "focus-ring", () => $4564c6c10d1690b3$export$f39a09f249340e2a, (v) => $4564c6c10d1690b3$export$f39a09f249340e2a = v);
8
+ $parcel$export($4564c6c10d1690b3$exports, "i18nFontFamily", () => $4564c6c10d1690b3$export$8c4ee2c50c22c514, (v) => $4564c6c10d1690b3$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($4564c6c10d1690b3$exports, "is-disabled", () => $4564c6c10d1690b3$export$d35bc1e505d1ebbf, (v) => $4564c6c10d1690b3$export$d35bc1e505d1ebbf = v);
10
+ $parcel$export($4564c6c10d1690b3$exports, "is-hovered", () => $4564c6c10d1690b3$export$b8813cd5d7824ce7, (v) => $4564c6c10d1690b3$export$b8813cd5d7824ce7 = v);
11
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing-ring", () => $4564c6c10d1690b3$export$4109102f950813a6, (v) => $4564c6c10d1690b3$export$4109102f950813a6 = v);
12
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing", () => $4564c6c10d1690b3$export$24c7f46a6e3605dd, (v) => $4564c6c10d1690b3$export$24c7f46a6e3605dd = v);
13
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing--quiet", () => $4564c6c10d1690b3$export$2927016961429360, (v) => $4564c6c10d1690b3$export$2927016961429360 = v);
14
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link", () => $4564c6c10d1690b3$export$d85dd8b94975f388, (v) => $4564c6c10d1690b3$export$d85dd8b94975f388 = v);
15
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--overBackground", () => $4564c6c10d1690b3$export$679b6267148797da, (v) => $4564c6c10d1690b3$export$679b6267148797da = v);
16
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--quiet", () => $4564c6c10d1690b3$export$81921ea93435e997, (v) => $4564c6c10d1690b3$export$81921ea93435e997 = v);
17
+ $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--secondary", () => $4564c6c10d1690b3$export$ab09ed292dcb9a79, (v) => $4564c6c10d1690b3$export$ab09ed292dcb9a79 = v);
18
+ var $4564c6c10d1690b3$export$f39a09f249340e2a;
19
+ var $4564c6c10d1690b3$export$8c4ee2c50c22c514;
20
+ var $4564c6c10d1690b3$export$d35bc1e505d1ebbf;
21
+ var $4564c6c10d1690b3$export$b8813cd5d7824ce7;
22
+ var $4564c6c10d1690b3$export$4109102f950813a6;
23
+ var $4564c6c10d1690b3$export$24c7f46a6e3605dd;
24
+ var $4564c6c10d1690b3$export$2927016961429360;
25
+ var $4564c6c10d1690b3$export$d85dd8b94975f388;
26
+ var $4564c6c10d1690b3$export$679b6267148797da;
27
+ var $4564c6c10d1690b3$export$81921ea93435e997;
28
+ var $4564c6c10d1690b3$export$ab09ed292dcb9a79;
29
+ $4564c6c10d1690b3$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
30
+ $4564c6c10d1690b3$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
31
+ $4564c6c10d1690b3$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
32
+ $4564c6c10d1690b3$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
33
+ $4564c6c10d1690b3$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
34
+ $4564c6c10d1690b3$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$4564c6c10d1690b3$export$4109102f950813a6}`;
35
+ $4564c6c10d1690b3$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
36
+ $4564c6c10d1690b3$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
37
+ $4564c6c10d1690b3$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
38
+ $4564c6c10d1690b3$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
39
+ $4564c6c10d1690b3$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
40
+
41
+
42
+ export {$4564c6c10d1690b3$exports as default};
43
+ //# sourceMappingURL=link_vars_css.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC;AACxD,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA6C,CAAC,+BAA+B,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"link_vars_css.module.js.map"}
package/dist/main.js CHANGED
@@ -1,22 +1,11 @@
1
- require("./main.css");
2
- var $fo5qX$reactspectrumutils = require("@react-spectrum/utils");
3
- var $fo5qX$reactariafocus = require("@react-aria/focus");
4
- var $fo5qX$reactariautils = require("@react-aria/utils");
5
- var $fo5qX$react = require("react");
6
- var $fo5qX$reactariainteractions = require("@react-aria/interactions");
7
- var $fo5qX$reactarialink = require("@react-aria/link");
8
- var $fo5qX$reactspectrumprovider = require("@react-spectrum/provider");
1
+ var $1148fb7fc40f1ce2$exports = require("./Link.main.js");
9
2
 
10
3
 
11
4
  function $parcel$export(e, n, v, s) {
12
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
13
6
  }
14
7
 
15
- function $parcel$interopDefault(a) {
16
- return a && a.__esModule ? a.default : a;
17
- }
18
-
19
- $parcel$export(module.exports, "Link", () => $1148fb7fc40f1ce2$export$a6c7ac8248d6e38a);
8
+ $parcel$export(module.exports, "Link", () => $1148fb7fc40f1ce2$exports.Link);
20
9
  /*
21
10
  * Copyright 2020 Adobe. All rights reserved.
22
11
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -28,98 +17,6 @@ $parcel$export(module.exports, "Link", () => $1148fb7fc40f1ce2$export$a6c7ac8248
28
17
  * OF ANY KIND, either express or implied. See the License for the specific language
29
18
  * governing permissions and limitations under the License.
30
19
  */ /// <reference types="css-module-types" />
31
- /*
32
- * Copyright 2020 Adobe. All rights reserved.
33
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
34
- * you may not use this file except in compliance with the License. You may obtain a copy
35
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
36
- *
37
- * Unless required by applicable law or agreed to in writing, software distributed under
38
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
39
- * OF ANY KIND, either express or implied. See the License for the specific language
40
- * governing permissions and limitations under the License.
41
- */
42
-
43
-
44
-
45
- var $094ce2289235a9fa$exports = {};
46
-
47
- $parcel$export($094ce2289235a9fa$exports, "focus-ring", () => $094ce2289235a9fa$export$f39a09f249340e2a, (v) => $094ce2289235a9fa$export$f39a09f249340e2a = v);
48
- $parcel$export($094ce2289235a9fa$exports, "i18nFontFamily", () => $094ce2289235a9fa$export$8c4ee2c50c22c514, (v) => $094ce2289235a9fa$export$8c4ee2c50c22c514 = v);
49
- $parcel$export($094ce2289235a9fa$exports, "is-disabled", () => $094ce2289235a9fa$export$d35bc1e505d1ebbf, (v) => $094ce2289235a9fa$export$d35bc1e505d1ebbf = v);
50
- $parcel$export($094ce2289235a9fa$exports, "is-hovered", () => $094ce2289235a9fa$export$b8813cd5d7824ce7, (v) => $094ce2289235a9fa$export$b8813cd5d7824ce7 = v);
51
- $parcel$export($094ce2289235a9fa$exports, "spectrum-FocusRing-ring", () => $094ce2289235a9fa$export$4109102f950813a6, (v) => $094ce2289235a9fa$export$4109102f950813a6 = v);
52
- $parcel$export($094ce2289235a9fa$exports, "spectrum-FocusRing", () => $094ce2289235a9fa$export$24c7f46a6e3605dd, (v) => $094ce2289235a9fa$export$24c7f46a6e3605dd = v);
53
- $parcel$export($094ce2289235a9fa$exports, "spectrum-FocusRing--quiet", () => $094ce2289235a9fa$export$2927016961429360, (v) => $094ce2289235a9fa$export$2927016961429360 = v);
54
- $parcel$export($094ce2289235a9fa$exports, "spectrum-Link", () => $094ce2289235a9fa$export$d85dd8b94975f388, (v) => $094ce2289235a9fa$export$d85dd8b94975f388 = v);
55
- $parcel$export($094ce2289235a9fa$exports, "spectrum-Link--overBackground", () => $094ce2289235a9fa$export$679b6267148797da, (v) => $094ce2289235a9fa$export$679b6267148797da = v);
56
- $parcel$export($094ce2289235a9fa$exports, "spectrum-Link--quiet", () => $094ce2289235a9fa$export$81921ea93435e997, (v) => $094ce2289235a9fa$export$81921ea93435e997 = v);
57
- $parcel$export($094ce2289235a9fa$exports, "spectrum-Link--secondary", () => $094ce2289235a9fa$export$ab09ed292dcb9a79, (v) => $094ce2289235a9fa$export$ab09ed292dcb9a79 = v);
58
- var $094ce2289235a9fa$export$f39a09f249340e2a;
59
- var $094ce2289235a9fa$export$8c4ee2c50c22c514;
60
- var $094ce2289235a9fa$export$d35bc1e505d1ebbf;
61
- var $094ce2289235a9fa$export$b8813cd5d7824ce7;
62
- var $094ce2289235a9fa$export$4109102f950813a6;
63
- var $094ce2289235a9fa$export$24c7f46a6e3605dd;
64
- var $094ce2289235a9fa$export$2927016961429360;
65
- var $094ce2289235a9fa$export$d85dd8b94975f388;
66
- var $094ce2289235a9fa$export$679b6267148797da;
67
- var $094ce2289235a9fa$export$81921ea93435e997;
68
- var $094ce2289235a9fa$export$ab09ed292dcb9a79;
69
- $094ce2289235a9fa$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
70
- $094ce2289235a9fa$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
71
- $094ce2289235a9fa$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
72
- $094ce2289235a9fa$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
73
- $094ce2289235a9fa$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
74
- $094ce2289235a9fa$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$094ce2289235a9fa$export$4109102f950813a6}`;
75
- $094ce2289235a9fa$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
76
- $094ce2289235a9fa$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
77
- $094ce2289235a9fa$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
78
- $094ce2289235a9fa$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
79
- $094ce2289235a9fa$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
80
-
81
-
82
-
83
-
84
-
85
- function $1148fb7fc40f1ce2$export$a6c7ac8248d6e38a(props) {
86
- props = (0, $fo5qX$reactspectrumprovider.useProviderProps)(props);
87
- props = (0, $fo5qX$reactspectrumutils.useSlotProps)(props, "link");
88
- let { variant: variant = "primary", isQuiet: isQuiet, children: children, href: // @ts-ignore
89
- href } = props;
90
- let { styleProps: styleProps } = (0, $fo5qX$reactspectrumutils.useStyleProps)(props);
91
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $fo5qX$reactariainteractions.useHover)({});
92
- let ref = (0, $fo5qX$react.useRef)(null);
93
- let { linkProps: linkProps } = (0, $fo5qX$reactarialink.useLink)({
94
- ...props,
95
- elementType: !href && typeof children === "string" ? "span" : "a"
96
- }, ref);
97
- let domProps = {
98
- ...styleProps,
99
- ...(0, $fo5qX$reactariautils.mergeProps)(linkProps, hoverProps),
100
- ref: ref,
101
- className: (0, $fo5qX$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($094ce2289235a9fa$exports))), "spectrum-Link", {
102
- "spectrum-Link--quiet": isQuiet,
103
- [`spectrum-Link--${variant}`]: variant,
104
- "is-hovered": isHovered
105
- }, styleProps.className)
106
- };
107
- let link;
108
- if (href) link = /*#__PURE__*/ (0, ($parcel$interopDefault($fo5qX$react))).createElement("a", domProps, children);
109
- else {
110
- // Backward compatibility.
111
- let wrappedChild = (0, $fo5qX$reactspectrumutils.getWrappedElement)(children);
112
- link = /*#__PURE__*/ (0, ($parcel$interopDefault($fo5qX$react))).cloneElement(wrappedChild, {
113
- ...(0, $fo5qX$reactariautils.mergeProps)(wrappedChild.props, domProps),
114
- // @ts-ignore https://github.com/facebook/react/issues/8873
115
- ref: wrappedChild.ref ? (0, $fo5qX$reactariautils.mergeRefs)(ref, wrappedChild.ref) : ref
116
- });
117
- }
118
- return /*#__PURE__*/ (0, ($parcel$interopDefault($fo5qX$react))).createElement((0, $fo5qX$reactariafocus.FocusRing), {
119
- focusRingClass: (0, $fo5qX$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($094ce2289235a9fa$exports))), "focus-ring")
120
- }, link);
121
- }
122
-
123
20
 
124
21
 
125
22
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC;AACxD,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA6C,CAAC,+BAA+B,CAAC;;;;;;ADgBvE,SAAS,0CAAK,KAAwB;IAC3C,QAAQ,CAAA,GAAA,6CAAe,EAAE;IACzB,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,WACF,UAAU,oBACV,OAAO,YACP,QAAQ,QACR,aAAa;IACb,IAAI,EACL,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,qCAAO,EAAE,CAAC;IAExC,IAAI,MAAM,CAAA,GAAA,mBAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,4BAAM,EAAE;QACxB,GAAG,KAAK;QACR,aAAa,CAAC,QAAQ,OAAO,aAAa,WAAW,SAAS;IAChE,GAAG;IAEH,IAAI,WAAW;QACb,GAAG,UAAU;QACb,GAAG,CAAA,GAAA,gCAAS,EAAE,WAAW,WAAW;aACpC;QACA,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,gEAAK,GACL,iBACA;YACE,wBAAwB;YACxB,CAAC,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,EAAE;YAC/B,cAAc;QAChB,GACA,WAAW,SAAS;IAExB;IAEA,IAAI;IACJ,IAAI,MACF,qBAAO,0DAAC,KAAM,UAAW;SACpB;QACL,0BAA0B;QAC1B,IAAI,eAAe,CAAA,GAAA,2CAAgB,EAAE;QACrC,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,cAAc;YACtC,GAAG,CAAA,GAAA,gCAAS,EAAE,aAAa,KAAK,EAAE,SAAS;YAC3C,2DAA2D;YAC3D,KAAK,aAAa,GAAG,GAAG,CAAA,GAAA,+BAAQ,EAAE,KAAK,aAAa,GAAG,IAAI;QAC7D;IACF;IAGA,qBACE,0DAAC,CAAA,GAAA,+BAAQ;QAAE,gBAAgB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;OAC3C;AAGP;","sources":["packages/@react-spectrum/link/src/index.ts","packages/@react-spectrum/link/src/Link.tsx","packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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 {Link} from './Link';\nexport type {SpectrumLinkProps} from '@react-types/link';\n","/*\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 {classNames, getWrappedElement, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps, mergeRefs} from '@react-aria/utils';\nimport React, {JSX, useRef} from 'react';\nimport {SpectrumLinkProps} from '@react-types/link';\nimport styles from '@adobe/spectrum-css-temp/components/link/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useLink} from '@react-aria/link';\nimport {useProviderProps} from '@react-spectrum/provider';\n\n/**\n * Links allow users to navigate to a different location.\n * They can be presented inline inside a paragraph or as standalone text.\n */\nexport function Link(props: SpectrumLinkProps) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'link');\n let {\n variant = 'primary',\n isQuiet,\n children,\n // @ts-ignore\n href\n } = props;\n let {styleProps} = useStyleProps(props);\n let {hoverProps, isHovered} = useHover({});\n\n let ref = useRef(null);\n let {linkProps} = useLink({\n ...props,\n elementType: !href && typeof children === 'string' ? 'span' : 'a'\n }, ref);\n\n let domProps = {\n ...styleProps,\n ...mergeProps(linkProps, hoverProps),\n ref,\n className: classNames(\n styles,\n 'spectrum-Link',\n {\n 'spectrum-Link--quiet': isQuiet,\n [`spectrum-Link--${variant}`]: variant,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n };\n\n let link: JSX.Element;\n if (href) {\n link = <a {...domProps}>{children}</a>;\n } else {\n // Backward compatibility.\n let wrappedChild = getWrappedElement(children);\n link = React.cloneElement(wrappedChild, {\n ...mergeProps(wrappedChild.props, domProps),\n // @ts-ignore https://github.com/facebook/react/issues/8873\n ref: wrappedChild.ref ? mergeRefs(ref, wrappedChild.ref) : ref\n });\n }\n\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')}>\n {link}\n </FocusRing>\n );\n}\n","/*\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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/link/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 {Link} from './Link';\nexport type {SpectrumLinkProps} from '@react-types/link';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,20 +1,5 @@
1
- import "./main.css";
2
- import {useSlotProps as $11MUV$useSlotProps, useStyleProps as $11MUV$useStyleProps, classNames as $11MUV$classNames, getWrappedElement as $11MUV$getWrappedElement} from "@react-spectrum/utils";
3
- import {FocusRing as $11MUV$FocusRing} from "@react-aria/focus";
4
- import {mergeProps as $11MUV$mergeProps, mergeRefs as $11MUV$mergeRefs} from "@react-aria/utils";
5
- import $11MUV$react, {useRef as $11MUV$useRef} from "react";
6
- import {useHover as $11MUV$useHover} from "@react-aria/interactions";
7
- import {useLink as $11MUV$useLink} from "@react-aria/link";
8
- import {useProviderProps as $11MUV$useProviderProps} from "@react-spectrum/provider";
1
+ import {Link as $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a} from "./Link.module.js";
9
2
 
10
-
11
- function $parcel$interopDefault(a) {
12
- return a && a.__esModule ? a.default : a;
13
- }
14
-
15
- function $parcel$export(e, n, v, s) {
16
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
17
- }
18
3
  /*
19
4
  * Copyright 2020 Adobe. All rights reserved.
20
5
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -26,98 +11,6 @@ function $parcel$export(e, n, v, s) {
26
11
  * OF ANY KIND, either express or implied. See the License for the specific language
27
12
  * governing permissions and limitations under the License.
28
13
  */ /// <reference types="css-module-types" />
29
- /*
30
- * Copyright 2020 Adobe. All rights reserved.
31
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
32
- * you may not use this file except in compliance with the License. You may obtain a copy
33
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
34
- *
35
- * Unless required by applicable law or agreed to in writing, software distributed under
36
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
37
- * OF ANY KIND, either express or implied. See the License for the specific language
38
- * governing permissions and limitations under the License.
39
- */
40
-
41
-
42
-
43
- var $4564c6c10d1690b3$exports = {};
44
-
45
- $parcel$export($4564c6c10d1690b3$exports, "focus-ring", () => $4564c6c10d1690b3$export$f39a09f249340e2a, (v) => $4564c6c10d1690b3$export$f39a09f249340e2a = v);
46
- $parcel$export($4564c6c10d1690b3$exports, "i18nFontFamily", () => $4564c6c10d1690b3$export$8c4ee2c50c22c514, (v) => $4564c6c10d1690b3$export$8c4ee2c50c22c514 = v);
47
- $parcel$export($4564c6c10d1690b3$exports, "is-disabled", () => $4564c6c10d1690b3$export$d35bc1e505d1ebbf, (v) => $4564c6c10d1690b3$export$d35bc1e505d1ebbf = v);
48
- $parcel$export($4564c6c10d1690b3$exports, "is-hovered", () => $4564c6c10d1690b3$export$b8813cd5d7824ce7, (v) => $4564c6c10d1690b3$export$b8813cd5d7824ce7 = v);
49
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing-ring", () => $4564c6c10d1690b3$export$4109102f950813a6, (v) => $4564c6c10d1690b3$export$4109102f950813a6 = v);
50
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing", () => $4564c6c10d1690b3$export$24c7f46a6e3605dd, (v) => $4564c6c10d1690b3$export$24c7f46a6e3605dd = v);
51
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-FocusRing--quiet", () => $4564c6c10d1690b3$export$2927016961429360, (v) => $4564c6c10d1690b3$export$2927016961429360 = v);
52
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link", () => $4564c6c10d1690b3$export$d85dd8b94975f388, (v) => $4564c6c10d1690b3$export$d85dd8b94975f388 = v);
53
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--overBackground", () => $4564c6c10d1690b3$export$679b6267148797da, (v) => $4564c6c10d1690b3$export$679b6267148797da = v);
54
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--quiet", () => $4564c6c10d1690b3$export$81921ea93435e997, (v) => $4564c6c10d1690b3$export$81921ea93435e997 = v);
55
- $parcel$export($4564c6c10d1690b3$exports, "spectrum-Link--secondary", () => $4564c6c10d1690b3$export$ab09ed292dcb9a79, (v) => $4564c6c10d1690b3$export$ab09ed292dcb9a79 = v);
56
- var $4564c6c10d1690b3$export$f39a09f249340e2a;
57
- var $4564c6c10d1690b3$export$8c4ee2c50c22c514;
58
- var $4564c6c10d1690b3$export$d35bc1e505d1ebbf;
59
- var $4564c6c10d1690b3$export$b8813cd5d7824ce7;
60
- var $4564c6c10d1690b3$export$4109102f950813a6;
61
- var $4564c6c10d1690b3$export$24c7f46a6e3605dd;
62
- var $4564c6c10d1690b3$export$2927016961429360;
63
- var $4564c6c10d1690b3$export$d85dd8b94975f388;
64
- var $4564c6c10d1690b3$export$679b6267148797da;
65
- var $4564c6c10d1690b3$export$81921ea93435e997;
66
- var $4564c6c10d1690b3$export$ab09ed292dcb9a79;
67
- $4564c6c10d1690b3$export$f39a09f249340e2a = `WBgRPa_focus-ring`;
68
- $4564c6c10d1690b3$export$8c4ee2c50c22c514 = `WBgRPa_i18nFontFamily`;
69
- $4564c6c10d1690b3$export$d35bc1e505d1ebbf = `WBgRPa_is-disabled`;
70
- $4564c6c10d1690b3$export$b8813cd5d7824ce7 = `WBgRPa_is-hovered`;
71
- $4564c6c10d1690b3$export$4109102f950813a6 = `WBgRPa_spectrum-FocusRing-ring`;
72
- $4564c6c10d1690b3$export$24c7f46a6e3605dd = `WBgRPa_spectrum-FocusRing ${$4564c6c10d1690b3$export$4109102f950813a6}`;
73
- $4564c6c10d1690b3$export$2927016961429360 = `WBgRPa_spectrum-FocusRing--quiet`;
74
- $4564c6c10d1690b3$export$d85dd8b94975f388 = `WBgRPa_spectrum-Link`;
75
- $4564c6c10d1690b3$export$679b6267148797da = `WBgRPa_spectrum-Link--overBackground`;
76
- $4564c6c10d1690b3$export$81921ea93435e997 = `WBgRPa_spectrum-Link--quiet`;
77
- $4564c6c10d1690b3$export$ab09ed292dcb9a79 = `WBgRPa_spectrum-Link--secondary`;
78
-
79
-
80
-
81
-
82
-
83
- function $3c5235ac12f2c9bb$export$a6c7ac8248d6e38a(props) {
84
- props = (0, $11MUV$useProviderProps)(props);
85
- props = (0, $11MUV$useSlotProps)(props, "link");
86
- let { variant: variant = "primary", isQuiet: isQuiet, children: children, href: // @ts-ignore
87
- href } = props;
88
- let { styleProps: styleProps } = (0, $11MUV$useStyleProps)(props);
89
- let { hoverProps: hoverProps, isHovered: isHovered } = (0, $11MUV$useHover)({});
90
- let ref = (0, $11MUV$useRef)(null);
91
- let { linkProps: linkProps } = (0, $11MUV$useLink)({
92
- ...props,
93
- elementType: !href && typeof children === "string" ? "span" : "a"
94
- }, ref);
95
- let domProps = {
96
- ...styleProps,
97
- ...(0, $11MUV$mergeProps)(linkProps, hoverProps),
98
- ref: ref,
99
- className: (0, $11MUV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4564c6c10d1690b3$exports))), "spectrum-Link", {
100
- "spectrum-Link--quiet": isQuiet,
101
- [`spectrum-Link--${variant}`]: variant,
102
- "is-hovered": isHovered
103
- }, styleProps.className)
104
- };
105
- let link;
106
- if (href) link = /*#__PURE__*/ (0, $11MUV$react).createElement("a", domProps, children);
107
- else {
108
- // Backward compatibility.
109
- let wrappedChild = (0, $11MUV$getWrappedElement)(children);
110
- link = /*#__PURE__*/ (0, $11MUV$react).cloneElement(wrappedChild, {
111
- ...(0, $11MUV$mergeProps)(wrappedChild.props, domProps),
112
- // @ts-ignore https://github.com/facebook/react/issues/8873
113
- ref: wrappedChild.ref ? (0, $11MUV$mergeRefs)(ref, wrappedChild.ref) : ref
114
- });
115
- }
116
- return /*#__PURE__*/ (0, $11MUV$react).createElement((0, $11MUV$FocusRing), {
117
- focusRingClass: (0, $11MUV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($4564c6c10d1690b3$exports))), "focus-ring")
118
- }, link);
119
- }
120
-
121
14
 
122
15
 
123
16
 
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAVA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkC,CAAC,oBAAoB,CAAC;AACxD,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA6C,CAAC,+BAA+B,CAAC;;;;;;ADgBvE,SAAS,0CAAK,KAAwB;IAC3C,QAAQ,CAAA,GAAA,uBAAe,EAAE;IACzB,QAAQ,CAAA,GAAA,mBAAW,EAAE,OAAO;IAC5B,IAAI,WACF,UAAU,oBACV,OAAO,YACP,QAAQ,QACR,aAAa;IACb,IAAI,EACL,GAAG;IACJ,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,cAAC,UAAU,aAAE,SAAS,EAAC,GAAG,CAAA,GAAA,eAAO,EAAE,CAAC;IAExC,IAAI,MAAM,CAAA,GAAA,aAAK,EAAE;IACjB,IAAI,aAAC,SAAS,EAAC,GAAG,CAAA,GAAA,cAAM,EAAE;QACxB,GAAG,KAAK;QACR,aAAa,CAAC,QAAQ,OAAO,aAAa,WAAW,SAAS;IAChE,GAAG;IAEH,IAAI,WAAW;QACb,GAAG,UAAU;QACb,GAAG,CAAA,GAAA,iBAAS,EAAE,WAAW,WAAW;aACpC;QACA,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,gEAAK,GACL,iBACA;YACE,wBAAwB;YACxB,CAAC,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC,EAAE;YAC/B,cAAc;QAChB,GACA,WAAW,SAAS;IAExB;IAEA,IAAI;IACJ,IAAI,MACF,qBAAO,gCAAC,KAAM,UAAW;SACpB;QACL,0BAA0B;QAC1B,IAAI,eAAe,CAAA,GAAA,wBAAgB,EAAE;QACrC,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,cAAc;YACtC,GAAG,CAAA,GAAA,iBAAS,EAAE,aAAa,KAAK,EAAE,SAAS;YAC3C,2DAA2D;YAC3D,KAAK,aAAa,GAAG,GAAG,CAAA,GAAA,gBAAQ,EAAE,KAAK,aAAa,GAAG,IAAI;QAC7D;IACF;IAGA,qBACE,gCAAC,CAAA,GAAA,gBAAQ;QAAE,gBAAgB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;OAC3C;AAGP;","sources":["packages/@react-spectrum/link/src/index.ts","packages/@react-spectrum/link/src/Link.tsx","packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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 {Link} from './Link';\nexport type {SpectrumLinkProps} from '@react-types/link';\n","/*\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 {classNames, getWrappedElement, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {mergeProps, mergeRefs} from '@react-aria/utils';\nimport React, {JSX, useRef} from 'react';\nimport {SpectrumLinkProps} from '@react-types/link';\nimport styles from '@adobe/spectrum-css-temp/components/link/vars.css';\nimport {useHover} from '@react-aria/interactions';\nimport {useLink} from '@react-aria/link';\nimport {useProviderProps} from '@react-spectrum/provider';\n\n/**\n * Links allow users to navigate to a different location.\n * They can be presented inline inside a paragraph or as standalone text.\n */\nexport function Link(props: SpectrumLinkProps) {\n props = useProviderProps(props);\n props = useSlotProps(props, 'link');\n let {\n variant = 'primary',\n isQuiet,\n children,\n // @ts-ignore\n href\n } = props;\n let {styleProps} = useStyleProps(props);\n let {hoverProps, isHovered} = useHover({});\n\n let ref = useRef(null);\n let {linkProps} = useLink({\n ...props,\n elementType: !href && typeof children === 'string' ? 'span' : 'a'\n }, ref);\n\n let domProps = {\n ...styleProps,\n ...mergeProps(linkProps, hoverProps),\n ref,\n className: classNames(\n styles,\n 'spectrum-Link',\n {\n 'spectrum-Link--quiet': isQuiet,\n [`spectrum-Link--${variant}`]: variant,\n 'is-hovered': isHovered\n },\n styleProps.className\n )\n };\n\n let link: JSX.Element;\n if (href) {\n link = <a {...domProps}>{children}</a>;\n } else {\n // Backward compatibility.\n let wrappedChild = getWrappedElement(children);\n link = React.cloneElement(wrappedChild, {\n ...mergeProps(wrappedChild.props, domProps),\n // @ts-ignore https://github.com/facebook/react/issues/8873\n ref: wrappedChild.ref ? mergeRefs(ref, wrappedChild.ref) : ref\n });\n }\n\n\n return (\n <FocusRing focusRingClass={classNames(styles, 'focus-ring')}>\n {link}\n </FocusRing>\n );\n}\n","/*\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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/link/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 {Link} from './Link';\nexport type {SpectrumLinkProps} from '@react-types/link';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -23,11 +23,7 @@
23
23
  font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
24
  }
25
25
 
26
- .WBgRPa_i18nFontFamily:lang(zh-SG) {
27
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
- }
29
-
30
- .WBgRPa_i18nFontFamily:lang(zh-CN) {
26
+ .WBgRPa_i18nFontFamily:lang(zh-SG), .WBgRPa_i18nFontFamily:lang(zh-CN) {
31
27
  font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
32
28
  }
33
29
 
@@ -55,13 +51,7 @@
55
51
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
56
52
  display: block;
57
53
  position: absolute;
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- }
63
-
64
- .WBgRPa_spectrum-FocusRing {
54
+ inset: 0;
65
55
  }
66
56
 
67
57
  .WBgRPa_spectrum-FocusRing.WBgRPa_focus-ring:after {
@@ -78,6 +68,16 @@
78
68
  box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
79
69
  }
80
70
 
71
+ @media (forced-colors: active) {
72
+ .WBgRPa_spectrum-FocusRing, .WBgRPa_spectrum-FocusRing-ring, .WBgRPa_spectrum-FocusRing--quiet {
73
+ --spectrum-high-contrast-focus-ring-color: Highlight;
74
+ }
75
+
76
+ :is(.WBgRPa_spectrum-FocusRing, .WBgRPa_spectrum-FocusRing-ring, .WBgRPa_spectrum-FocusRing--quiet):after {
77
+ forced-color-adjust: none;
78
+ }
79
+ }
80
+
81
81
  .WBgRPa_spectrum-Link {
82
82
  -webkit-text-decoration-skip: objects;
83
83
  transition: color var(--spectrum-global-animation-duration-100, .13s) ease-in-out;
@@ -87,16 +87,11 @@
87
87
  text-decoration: underline;
88
88
  }
89
89
 
90
- .WBgRPa_spectrum-Link.WBgRPa_is-hovered {
90
+ .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
91
91
  text-decoration: underline;
92
92
  }
93
93
 
94
94
  .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
95
- text-decoration: underline;
96
- }
97
-
98
- .WBgRPa_spectrum-Link.WBgRPa_focus-ring {
99
- -webkit-text-decoration: underline double;
100
95
  text-decoration: underline double;
101
96
  }
102
97
 
@@ -105,11 +100,7 @@
105
100
  pointer-events: none;
106
101
  }
107
102
 
108
- .WBgRPa_spectrum-Link.WBgRPa_is-disabled.WBgRPa_is-hovered {
109
- text-decoration: none;
110
- }
111
-
112
- .WBgRPa_spectrum-Link.WBgRPa_is-disabled:focus {
103
+ .WBgRPa_spectrum-Link.WBgRPa_is-disabled.WBgRPa_is-hovered, .WBgRPa_spectrum-Link.WBgRPa_is-disabled:focus {
113
104
  text-decoration: none;
114
105
  }
115
106
 
@@ -145,19 +136,7 @@
145
136
  color: var(--spectrum-link-text-color-disabled, var(--spectrum-alias-text-color-disabled));
146
137
  }
147
138
 
148
- .WBgRPa_spectrum-Link--secondary {
149
- color: inherit;
150
- }
151
-
152
- .WBgRPa_spectrum-Link--secondary.WBgRPa_is-hovered {
153
- color: inherit;
154
- }
155
-
156
- .WBgRPa_spectrum-Link--secondary:active {
157
- color: inherit;
158
- }
159
-
160
- .WBgRPa_spectrum-Link--secondary:focus {
139
+ .WBgRPa_spectrum-Link--secondary, .WBgRPa_spectrum-Link--secondary.WBgRPa_is-hovered, .WBgRPa_spectrum-Link--secondary:active, .WBgRPa_spectrum-Link--secondary:focus {
161
140
  color: inherit;
162
141
  }
163
142
 
@@ -182,21 +161,8 @@
182
161
  }
183
162
 
184
163
  @media (forced-colors: active) {
185
- .WBgRPa_spectrum-Link {
186
- color: LinkText;
187
- }
188
-
189
- .WBgRPa_spectrum-Link.WBgRPa_is-hovered {
190
- color: LinkText;
191
- }
192
-
193
- .WBgRPa_spectrum-Link:active {
194
- color: LinkText;
195
- }
196
-
197
- .WBgRPa_spectrum-Link:focus {
198
- color: LinkText;
164
+ .WBgRPa_spectrum-Link, .WBgRPa_spectrum-Link.WBgRPa_is-hovered, .WBgRPa_spectrum-Link:active, .WBgRPa_spectrum-Link:focus {
165
+ color: linktext;
199
166
  }
200
167
  }
201
-
202
- /*# sourceMappingURL=main.css.map */
168
+ /*# sourceMappingURL=vars.f73dc1cf.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;AAUE;;;;AAQA;;;;AAKA;;;;;AAIE;;;;AAOJ;;;;AAQA;;;;AAgBA;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAgBA;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;EACE","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.f73dc1cf.css.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/link",
3
- "version": "3.6.5",
3
+ "version": "3.6.7",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,12 +36,12 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/focus": "^3.16.2",
40
- "@react-aria/interactions": "^3.21.1",
41
- "@react-aria/link": "^3.6.5",
42
- "@react-aria/utils": "^3.23.2",
43
- "@react-spectrum/utils": "^3.11.5",
44
- "@react-types/link": "^3.5.3",
39
+ "@react-aria/focus": "^3.17.1",
40
+ "@react-aria/interactions": "^3.21.3",
41
+ "@react-aria/link": "^3.7.1",
42
+ "@react-aria/utils": "^3.24.1",
43
+ "@react-spectrum/utils": "^3.11.7",
44
+ "@react-types/link": "^3.5.5",
45
45
  "@swc/helpers": "^0.5.0"
46
46
  },
47
47
  "devDependencies": {
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "de9f84a22583fc741c29b341d14cd35ef4cca161"
57
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
58
58
  }
package/dist/main.css.map DELETED
@@ -1 +0,0 @@
1
- {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUE;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAIE;;;;AAAA;;;;AAOJ;;;;AAQA;;;;AAgBA;;;;;;;;AAQE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAKF;;;;AAGE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;EACE;;;;EAGE;;;;EAIA;;;;EAIA","sources":["packages/@adobe/spectrum-css-temp/components/link/vars.css"],"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@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}