@react-types/grid
Advanced tools
Comparing version 3.0.0-nightly.2904 to 3.0.0-nightly-641446f65-240905
{ | ||
"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 | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
32
0
2007
3
+ Added@react-types/shared@3.24.1(transitive)
+ Addedreact@18.3.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)