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
714
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.2655 to 3.0.0-nightly.2659

10

dist/types.d.ts

@@ -1,6 +0,6 @@

import { GridCollection, GridNode, GridRow } from "@react-types/grid";
import { GridCollection as _GridCollection1, GridNode, GridRow } from "@react-types/grid";
import { Key } from "react";
import { MultipleSelection } from "@react-types/shared";
import { SelectionManager } from "@react-stately/selection";
export interface GridState<T, C extends GridCollection<T>> {
export interface GridState<T, C extends _GridCollection1<T>> {
collection: C;

@@ -10,7 +10,7 @@ disabledKeys: Set<Key>;

}
interface GridStateOptions<T, C extends GridCollection<T>> extends MultipleSelection {
interface GridStateOptions<T, C extends _GridCollection1<T>> extends MultipleSelection {
collection: C;
disabledKeys?: Iterable<Key>;
}
export function useGridState<T extends object, C extends GridCollection<T>>(props: GridStateOptions<T, C>): GridState<T, C>;
export function useGridState<T extends object, C extends _GridCollection1<T>>(props: GridStateOptions<T, C>): GridState<T, C>;
interface GridCollectionOptions<T> {

@@ -21,3 +21,3 @@ columnCount: number;

}
export class GridCollection<T> implements GridCollection<T> {
export class GridCollection<T> implements _GridCollection1<T> {
keyMap: Map<Key, GridNode<T>>;

@@ -24,0 +24,0 @@ columnCount: number;

{
"name": "@react-stately/grid",
"version": "3.0.0-nightly.2655+f0afbae7",
"version": "3.0.0-nightly.2659+6521a98b",
"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.975+f0afbae7",
"@react-types/grid": "3.0.0-nightly.2655+f0afbae7",
"@react-types/shared": "3.0.0-nightly.975+f0afbae7"
"@react-stately/selection": "3.0.0-nightly.979+6521a98b",
"@react-types/grid": "3.0.0-nightly.2659+6521a98b",
"@react-types/shared": "3.0.0-nightly.979+6521a98b"
},

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

},
"gitHead": "f0afbae764727b3062170852006ea38689a34f97"
"gitHead": "6521a98b5cc56ac0d93109e31ffcf0a9b75cee62"
}

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