@react-types/grid 3.1.3-nightly.3402 → 3.1.3-nightly.3412
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/index.d.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/grid",
|
|
3
|
-
"version": "3.1.3-nightly.
|
|
3
|
+
"version": "3.1.3-nightly.3412+93d8d401a",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
12
|
+
"@react-types/shared": "3.0.0-nightly.1712+93d8d401a"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "93d8d401ab8f428fc6fd6f172023282ed1a41341"
|
|
21
21
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -28,5 +28,8 @@ export interface GridRow<T> {
|
|
|
28
28
|
|
|
29
29
|
export interface GridNode<T> extends Node<T> {
|
|
30
30
|
column?: GridNode<T>,
|
|
31
|
-
|
|
31
|
+
/** The number of columns spanned by this cell. */
|
|
32
|
+
colspan?: number,
|
|
33
|
+
/** The column index of this cell, accounting for any colspans. */
|
|
34
|
+
colIndex?: number
|
|
32
35
|
}
|