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

@react-stately/grid

Package Overview
Dependencies
Maintainers
2
Versions
723
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/grid - npm Package Compare versions

Comparing version 3.0.0-nightly.2892 to 3.0.0-nightly.2895

7

dist/main.js

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

collection,
focusMode,
allowsCellSelection = false
focusMode
} = props;

@@ -63,5 +62,3 @@ let selectionState = useMultipleSelectionState(props);

disabledKeys,
selectionManager: new SelectionManager(collection, selectionState, {
allowsCellSelection
})
selectionManager: new SelectionManager(collection, selectionState)
};

@@ -68,0 +65,0 @@ }

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

collection,
focusMode,
allowsCellSelection = false
focusMode
} = props;

@@ -51,5 +50,3 @@ let selectionState = useMultipleSelectionState(props);

disabledKeys,
selectionManager: new SelectionManager(collection, selectionState, {
allowsCellSelection
})
selectionManager: new SelectionManager(collection, selectionState)
};

@@ -56,0 +53,0 @@ }

@@ -16,3 +16,2 @@ import { GridCollection as _GridCollection1, GridNode, GridRow } from "@react-types/grid";

focusMode?: 'row' | 'cell';
allowsCellSelection?: boolean;
}

@@ -19,0 +18,0 @@ /**

{
"name": "@react-stately/grid",
"version": "3.0.0-nightly.2892+66d8eb4f4",
"version": "3.0.0-nightly.2895+07f8cb4ec",
"description": "Spectrum UI components in React",

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

"@babel/runtime": "^7.6.2",
"@react-stately/selection": "3.0.0-nightly.1207+66d8eb4f4",
"@react-types/grid": "3.0.0-nightly.2892+66d8eb4f4",
"@react-types/shared": "3.0.0-nightly.1207+66d8eb4f4"
"@react-stately/selection": "3.0.0-nightly.1210+07f8cb4ec",
"@react-types/grid": "3.0.0-nightly.2895+07f8cb4ec",
"@react-types/shared": "3.0.0-nightly.1210+07f8cb4ec"
},

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

},
"gitHead": "66d8eb4f4da3c073f4184f70ff6fcad47a1e8238"
"gitHead": "07f8cb4ecc7cee38d9574524388865e5ce3da57d"
}

@@ -17,4 +17,3 @@ import {GridCollection} from '@react-types/grid';

disabledKeys?: Iterable<Key>,
focusMode?: 'row' | 'cell',
allowsCellSelection?: boolean
focusMode?: 'row' | 'cell'
}

@@ -26,3 +25,3 @@

export function useGridState<T extends object, C extends GridCollection<T>>(props: GridStateOptions<T, C>): GridState<T, C> {
let {collection, focusMode, allowsCellSelection = false} = props;
let {collection, focusMode} = props;
let selectionState = useMultipleSelectionState(props);

@@ -61,4 +60,4 @@ let disabledKeys = useMemo(() =>

disabledKeys,
selectionManager: new SelectionManager(collection, selectionState, {allowsCellSelection})
selectionManager: new SelectionManager(collection, selectionState)
};
}

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