@react-aria/link 3.2.2 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
- var $gi03o$reactariautils = require("@react-aria/utils");
2
- var $gi03o$reactariafocus = require("@react-aria/focus");
3
- var $gi03o$reactariainteractions = require("@react-aria/interactions");
1
+ var $3NNeN$reactariautils = require("@react-aria/utils");
2
+ var $3NNeN$reactariafocus = require("@react-aria/focus");
3
+ var $3NNeN$reactariainteractions = require("@react-aria/interactions");
4
4
 
5
5
  function $parcel$exportWildcard(dest, source) {
6
6
  Object.keys(source).forEach(function(key) {
@@ -21,13 +21,13 @@ function $parcel$exportWildcard(dest, source) {
21
21
  function $parcel$export(e, n, v, s) {
22
22
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
23
23
  }
24
- var $bdb64ee24c162605$exports = {};
24
+ var $fbe6b19572273b2f$exports = {};
25
25
 
26
- $parcel$export($bdb64ee24c162605$exports, "useLink", () => $bdb64ee24c162605$export$dcf14c9974fe2767);
26
+ $parcel$export($fbe6b19572273b2f$exports, "useLink", () => $fbe6b19572273b2f$export$dcf14c9974fe2767);
27
27
 
28
28
 
29
29
 
30
- function $bdb64ee24c162605$export$dcf14c9974fe2767(props, ref) {
30
+ function $fbe6b19572273b2f$export$dcf14c9974fe2767(props, ref) {
31
31
  let { elementType: elementType = 'a' , onPress: onPress , onPressStart: onPressStart , onPressEnd: onPressEnd , // @ts-ignore
32
32
  onClick: deprecatedOnClick , isDisabled: isDisabled , ...otherProps } = props;
33
33
  let linkProps;
@@ -35,21 +35,21 @@ function $bdb64ee24c162605$export$dcf14c9974fe2767(props, ref) {
35
35
  role: 'link',
36
36
  tabIndex: !isDisabled ? 0 : undefined
37
37
  };
38
- let { focusableProps: focusableProps } = $gi03o$reactariafocus.useFocusable(props, ref);
39
- let { pressProps: pressProps , isPressed: isPressed } = $gi03o$reactariainteractions.usePress({
38
+ let { focusableProps: focusableProps } = $3NNeN$reactariafocus.useFocusable(props, ref);
39
+ let { pressProps: pressProps , isPressed: isPressed } = $3NNeN$reactariainteractions.usePress({
40
40
  onPress: onPress,
41
41
  onPressStart: onPressStart,
42
42
  onPressEnd: onPressEnd,
43
43
  isDisabled: isDisabled,
44
44
  ref: ref
45
45
  });
46
- let domProps = $gi03o$reactariautils.filterDOMProps(otherProps, {
46
+ let domProps = $3NNeN$reactariautils.filterDOMProps(otherProps, {
47
47
  labelable: true
48
48
  });
49
- let interactionHandlers = $gi03o$reactariautils.mergeProps(focusableProps, pressProps);
49
+ let interactionHandlers = $3NNeN$reactariautils.mergeProps(focusableProps, pressProps);
50
50
  return {
51
51
  isPressed: isPressed,
52
- linkProps: $gi03o$reactariautils.mergeProps(domProps, {
52
+ linkProps: $3NNeN$reactariautils.mergeProps(domProps, {
53
53
  ...interactionHandlers,
54
54
  ...linkProps,
55
55
  'aria-disabled': isDisabled || undefined,
@@ -65,7 +65,7 @@ function $bdb64ee24c162605$export$dcf14c9974fe2767(props, ref) {
65
65
  }
66
66
 
67
67
 
68
- $parcel$exportWildcard(module.exports, $bdb64ee24c162605$exports);
68
+ $parcel$exportWildcard(module.exports, $fbe6b19572273b2f$exports);
69
69
 
70
70
 
71
71
  //# sourceMappingURL=main.js.map
package/dist/module.js CHANGED
@@ -1,17 +1,17 @@
1
- import {filterDOMProps as $k1pim$filterDOMProps, mergeProps as $k1pim$mergeProps} from "@react-aria/utils";
2
- import {useFocusable as $k1pim$useFocusable} from "@react-aria/focus";
3
- import {usePress as $k1pim$usePress} from "@react-aria/interactions";
1
+ import {filterDOMProps as $kKV4x$filterDOMProps, mergeProps as $kKV4x$mergeProps} from "@react-aria/utils";
2
+ import {useFocusable as $kKV4x$useFocusable} from "@react-aria/focus";
3
+ import {usePress as $kKV4x$usePress} from "@react-aria/interactions";
4
4
 
5
5
  function $parcel$export(e, n, v, s) {
6
6
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
7
  }
8
- var $c80650969d556788$exports = {};
8
+ var $298d61e98472621b$exports = {};
9
9
 
10
- $parcel$export($c80650969d556788$exports, "useLink", () => $c80650969d556788$export$dcf14c9974fe2767);
10
+ $parcel$export($298d61e98472621b$exports, "useLink", () => $298d61e98472621b$export$dcf14c9974fe2767);
11
11
 
12
12
 
13
13
 
14
- function $c80650969d556788$export$dcf14c9974fe2767(props, ref) {
14
+ function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
15
15
  let { elementType: elementType = 'a' , onPress: onPress , onPressStart: onPressStart , onPressEnd: onPressEnd , // @ts-ignore
16
16
  onClick: deprecatedOnClick , isDisabled: isDisabled , ...otherProps } = props;
17
17
  let linkProps;
@@ -19,21 +19,21 @@ function $c80650969d556788$export$dcf14c9974fe2767(props, ref) {
19
19
  role: 'link',
20
20
  tabIndex: !isDisabled ? 0 : undefined
21
21
  };
22
- let { focusableProps: focusableProps } = $k1pim$useFocusable(props, ref);
23
- let { pressProps: pressProps , isPressed: isPressed } = $k1pim$usePress({
22
+ let { focusableProps: focusableProps } = $kKV4x$useFocusable(props, ref);
23
+ let { pressProps: pressProps , isPressed: isPressed } = $kKV4x$usePress({
24
24
  onPress: onPress,
25
25
  onPressStart: onPressStart,
26
26
  onPressEnd: onPressEnd,
27
27
  isDisabled: isDisabled,
28
28
  ref: ref
29
29
  });
30
- let domProps = $k1pim$filterDOMProps(otherProps, {
30
+ let domProps = $kKV4x$filterDOMProps(otherProps, {
31
31
  labelable: true
32
32
  });
33
- let interactionHandlers = $k1pim$mergeProps(focusableProps, pressProps);
33
+ let interactionHandlers = $kKV4x$mergeProps(focusableProps, pressProps);
34
34
  return {
35
35
  isPressed: isPressed,
36
- linkProps: $k1pim$mergeProps(domProps, {
36
+ linkProps: $kKV4x$mergeProps(domProps, {
37
37
  ...interactionHandlers,
38
38
  ...linkProps,
39
39
  'aria-disabled': isDisabled || undefined,
@@ -51,5 +51,5 @@ function $c80650969d556788$export$dcf14c9974fe2767(props, ref) {
51
51
 
52
52
 
53
53
 
54
- export {$c80650969d556788$export$dcf14c9974fe2767 as useLink};
54
+ export {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};
55
55
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/link",
3
- "version": "3.2.2",
3
+ "version": "3.2.5",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@babel/runtime": "^7.6.2",
21
- "@react-aria/focus": "^3.5.2",
22
- "@react-aria/interactions": "^3.8.1",
23
- "@react-aria/utils": "^3.11.2",
24
- "@react-types/link": "^3.2.2",
25
- "@react-types/shared": "^3.11.1"
21
+ "@react-aria/focus": "^3.5.5",
22
+ "@react-aria/interactions": "^3.8.4",
23
+ "@react-aria/utils": "^3.12.0",
24
+ "@react-types/link": "^3.2.5",
25
+ "@react-types/shared": "^3.12.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^16.8.0 || ^17.0.0-rc.1"
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "404d41859b7d6f56201d7fc01bd9f22ae3512937"
33
+ "gitHead": "6a503b715e0dbbf92038cd7f08b1bcdde4c78e82"
34
34
  }