Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/grid

Package Overview
Dependencies
Maintainers
2
Versions
730
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/grid - npm Package Compare versions

Comparing version 3.0.0-nightly.2694 to 3.0.0-nightly.2699

25

dist/main.js

@@ -11,4 +11,2 @@ var {

var _babelRuntimeHelpersObjectWithoutPropertiesLoose = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
var {

@@ -502,3 +500,2 @@ useSelectableCollection,

} = props;
let allowsSelection = state.selectionManager.selectionMode !== 'none';
let {

@@ -518,11 +515,4 @@ itemProps

isDisabled
})); // Don't propagate press handlers if selection isn't allowed so that text selection can happen
}));
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(itemProps, ["onPressStart", "onPressEnd", "onPressUp", "onPress"]);
pressProps = otherProps;
}
let rowProps = _babelRuntimeHelpersExtends({

@@ -556,4 +546,3 @@ role: 'row',

} = useLocale();
let keyboardDelegate = $e6fd609a4e1bd40f6df88a69c08b6746$export$gridKeyboardDelegates.get(state);
let allowsSelection = state.selectionManager.selectionMode !== 'none'; // Handles focusing the cell. If there is a focusable child,
let keyboardDelegate = $e6fd609a4e1bd40f6df88a69c08b6746$export$gridKeyboardDelegates.get(state); // Handles focusing the cell. If there is a focusable child,
// it is focused, otherwise the cell itself is focused.

@@ -719,12 +708,4 @@

});
}; // Don't propagate press handlers if selection isn't allowed so that text selection can happen
};
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(itemProps, ["onPressStart", "onPressEnd", "onPressUp", "onPress"]);
pressProps = otherProps;
}
let gridCellProps = mergeProps(pressProps, {

@@ -731,0 +712,0 @@ role: 'gridcell',

import { focusSafely, getFocusableTreeWalker } from "@react-aria/focus";
import { usePress, isFocusVisible } from "@react-aria/interactions";
import _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import { useSelectableCollection, useSelectableItem } from "@react-aria/selection";

@@ -459,3 +458,2 @@ import { useCollator, useLocale } from "@react-aria/i18n";

} = props;
let allowsSelection = state.selectionManager.selectionMode !== 'none';
let {

@@ -475,11 +473,4 @@ itemProps

isDisabled
})); // Don't propagate press handlers if selection isn't allowed so that text selection can happen
}));
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(itemProps, ["onPressStart", "onPressEnd", "onPressUp", "onPress"]);
pressProps = otherProps;
}
let rowProps = _babelRuntimeHelpersEsmExtends({

@@ -510,4 +501,3 @@ role: 'row',

} = useLocale();
let keyboardDelegate = $c7c16c1fc27e25a205a277212c8e7cfd$export$gridKeyboardDelegates.get(state);
let allowsSelection = state.selectionManager.selectionMode !== 'none'; // Handles focusing the cell. If there is a focusable child,
let keyboardDelegate = $c7c16c1fc27e25a205a277212c8e7cfd$export$gridKeyboardDelegates.get(state); // Handles focusing the cell. If there is a focusable child,
// it is focused, otherwise the cell itself is focused.

@@ -673,12 +663,4 @@

});
}; // Don't propagate press handlers if selection isn't allowed so that text selection can happen
};
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(itemProps, ["onPressStart", "onPressEnd", "onPressUp", "onPress"]);
pressProps = otherProps;
}
let gridCellProps = mergeProps(pressProps, {

@@ -685,0 +667,0 @@ role: 'gridcell',

22

package.json
{
"name": "@react-aria/grid",
"version": "3.0.0-nightly.2694+6b6ac8f5",
"version": "3.0.0-nightly.2699+da3dc020",
"description": "Spectrum UI components in React",

@@ -21,11 +21,11 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/focus": "3.0.0-nightly.1014+6b6ac8f5",
"@react-aria/i18n": "3.0.0-nightly.1014+6b6ac8f5",
"@react-aria/interactions": "3.0.0-nightly.1014+6b6ac8f5",
"@react-aria/selection": "3.0.0-nightly.1014+6b6ac8f5",
"@react-aria/utils": "3.0.0-nightly.1014+6b6ac8f5",
"@react-stately/grid": "3.0.0-nightly.2694+6b6ac8f5",
"@react-stately/virtualizer": "3.1.4-nightly.2694+6b6ac8f5",
"@react-types/grid": "3.0.0-nightly.2694+6b6ac8f5",
"@react-types/shared": "3.0.0-nightly.1014+6b6ac8f5"
"@react-aria/focus": "3.0.0-nightly.1019+da3dc020",
"@react-aria/i18n": "3.0.0-nightly.1019+da3dc020",
"@react-aria/interactions": "3.0.0-nightly.1019+da3dc020",
"@react-aria/selection": "3.0.0-nightly.1019+da3dc020",
"@react-aria/utils": "3.0.0-nightly.1019+da3dc020",
"@react-stately/grid": "3.0.0-nightly.2699+da3dc020",
"@react-stately/virtualizer": "3.1.4-nightly.2699+da3dc020",
"@react-types/grid": "3.0.0-nightly.2699+da3dc020",
"@react-types/shared": "3.0.0-nightly.1019+da3dc020"
},

@@ -38,3 +38,3 @@ "peerDependencies": {

},
"gitHead": "6b6ac8f5d6b3ecbaa54527364aa2c5452313efb3"
"gitHead": "da3dc02079e56e87e2cd034967fec3c32cf9ea25"
}

@@ -51,3 +51,2 @@ /*

let keyboardDelegate = gridKeyboardDelegates.get(state);
let allowsSelection = state.selectionManager.selectionMode !== 'none';

@@ -208,9 +207,2 @@ // Handles focusing the cell. If there is a focusable child,

// Don't propagate press handlers if selection isn't allowed so that text selection can happen
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let {onPressStart, onPressEnd, onPressUp, onPress, ...otherProps} = itemProps;
pressProps = otherProps;
}
let gridCellProps: HTMLAttributes<HTMLElement> = mergeProps(pressProps, {

@@ -217,0 +209,0 @@ role: 'gridcell',

@@ -43,3 +43,2 @@ /*

let allowsSelection = state.selectionManager.selectionMode !== 'none';
let {itemProps} = useSelectableItem({

@@ -56,9 +55,2 @@ selectionManager: state.selectionManager,

// Don't propagate press handlers if selection isn't allowed so that text selection can happen
if (!allowsSelection) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let {onPressStart, onPressEnd, onPressUp, onPress, ...otherProps} = itemProps;
pressProps = otherProps;
}
let rowProps: HTMLAttributes<HTMLElement> = {

@@ -65,0 +57,0 @@ role: 'row',

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc