Socket
Socket
Sign inDemoInstall

@react-stately/grid

Package Overview
Dependencies
Maintainers
2
Versions
671
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-alpha.0 to 3.0.0-alpha.1

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-alpha.0",
"version": "3.0.0-alpha.1",
"description": "Spectrum UI components in React",

@@ -31,3 +31,3 @@ "license": "Apache-2.0",

},
"gitHead": "9920ffaa2596a03c4498a15cb940bd2f4ba5cd6a"
"gitHead": "bead0d5e0d5f4411430741d63d31e10dd5628dae"
}

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