Socket
Socket
Sign inDemoInstall

@react-aria/interactions

Package Overview
Dependencies
11
Maintainers
1
Versions
712
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-rc.3 to 3.0.0-rc.4

src/context.ts

20

dist/main.js

@@ -566,3 +566,5 @@ var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));

!(role === 'link' && key !== 'Enter');
} // Per: https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87
} // Original licensing for the following method can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87
// Keyboards, Assitive Technologies, and element.click() all produce a "virtual"

@@ -748,6 +750,5 @@ // click event. This is a method of inferring such clicks. Every browser except

}, []);
return (/*#__PURE__*/_react.createElement($c6b6d42ec461c27a6a09002bf49a250e$export$PressResponderContext.Provider, {
value: context
}, children)
);
return /*#__PURE__*/_react.createElement($c6b6d42ec461c27a6a09002bf49a250e$export$PressResponderContext.Provider, {
value: context
}, children);
});

@@ -817,2 +818,7 @@

// Portions of the code in this file are based on code from react.
// Original licensing for the following can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions
/**

@@ -898,4 +904,4 @@ * Handles focus events for the immediate target.

let onBlur = e => {
// We don't want to trigger onBlurWithin and then immediately onFocusWithin again
// when moving focus inside the element. Only trigger if the currentTarget doesn't
// We don't want to trigger onBlurWithin and then immediately onFocusWithin again
// when moving focus inside the element. Only trigger if the currentTarget doesn't
// include the relatedTarget (where focus is moving).

@@ -902,0 +908,0 @@ if (state.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {

@@ -544,3 +544,5 @@ import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";

!(role === 'link' && key !== 'Enter');
} // Per: https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87
} // Original licensing for the following method can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/blob/3c713d513195a53788b3f8bb4b70279d68b15bcc/packages/react-interactions/events/src/dom/shared/index.js#L74-L87
// Keyboards, Assitive Technologies, and element.click() all produce a "virtual"

@@ -721,6 +723,5 @@ // click event. This is a method of inferring such clicks. Every browser except

}, []);
return (/*#__PURE__*/_react.createElement($a3ff51240de6f955c79cf17a88e349$export$PressResponderContext.Provider, {
value: context
}, children)
);
return /*#__PURE__*/_react.createElement($a3ff51240de6f955c79cf17a88e349$export$PressResponderContext.Provider, {
value: context
}, children);
});

@@ -785,2 +786,6 @@

}
// Portions of the code in this file are based on code from react.
// Original licensing for the following can be found in the
// NOTICE file in the root directory of this source tree.
// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions

@@ -865,4 +870,4 @@ /**

let onBlur = e => {
// We don't want to trigger onBlurWithin and then immediately onFocusWithin again
// when moving focus inside the element. Only trigger if the currentTarget doesn't
// We don't want to trigger onBlurWithin and then immediately onFocusWithin again
// when moving focus inside the element. Only trigger if the currentTarget doesn't
// include the relatedTarget (where focus is moving).

@@ -869,0 +874,0 @@ if (state.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {

@@ -1,2 +0,2 @@

import { HTMLAttributes, RefObject, SyntheticEvent, ReactElement, ReactNode, FocusEvent } from "react";
import React, { HTMLAttributes, RefObject, SyntheticEvent, ReactElement, ReactNode, FocusEvent } from "react";
import { PressEvents, KeyboardEvents, FocusEvents, HoverEvents } from "@react-types/shared";

@@ -3,0 +3,0 @@ export interface PressProps extends PressEvents {

{
"name": "@react-aria/interactions",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"description": "Spectrum UI components in React",

@@ -11,3 +11,4 @@ "license": "Apache-2.0",

"files": [
"dist"
"dist",
"src"
],

@@ -21,4 +22,4 @@ "sideEffects": false,

"@babel/runtime": "^7.6.2",
"@react-aria/utils": "3.0.0-rc.3",
"@react-types/shared": "3.0.0-rc.3"
"@react-aria/utils": "3.0.0-rc.4",
"@react-types/shared": "3.0.0-rc.4"
},

@@ -31,3 +32,3 @@ "peerDependencies": {

},
"gitHead": "461d6321126ae9b4f1508aa912f7b36bf8a603f8"
"gitHead": "ee5ad1544ed65366c0fadabc2c63d39573ba3ffd"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc