Socket
Socket
Sign inDemoInstall

@react-types/grid

Package Overview
Dependencies
Maintainers
2
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/grid - npm Package Compare versions

Comparing version 3.0.0-nightly.2904 to 3.0.0-nightly-641446f65-240905

10

package.json
{
"name": "@react-types/grid",
"version": "3.0.0-nightly.2904+e14523fed",
"version": "3.0.0-nightly-641446f65-240905",
"description": "Spectrum UI components in React",

@@ -12,6 +12,6 @@ "license": "Apache-2.0",

"dependencies": {
"@react-types/shared": "3.0.0-nightly.1219+e14523fed"
"@react-types/shared": "^3.0.0-nightly-641446f65-240905"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},

@@ -21,3 +21,3 @@ "publishConfig": {

},
"gitHead": "e14523fedd93ac1a4ede355aed70988af572ae74"
}
"stableVersion": "3.2.8"
}

@@ -13,6 +13,5 @@ /*

import {Collection, Node} from '@react-types/shared';
import {Key} from 'react';
import {Collection, Key, Node} from '@react-types/shared';
export interface GridCollection<T> extends Collection<Node<T>> {
export interface GridCollection<T> extends Collection<GridNode<T>> {
/** The number of columns in the grid. */

@@ -32,3 +31,8 @@ columnCount: number,

column?: GridNode<T>,
colspan?: number
/** The number of columns spanned by this cell. */
colspan?: number,
/** The column index of this cell, accounting for any colspans. */
colIndex?: number,
/** The index of this node within its parent, ignoring sibling nodes that aren't of the same type. */
indexOfType?: number
}
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