@react-types/table 3.10.3 → 3.11.0

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/index.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/table",
3
- "version": "3.10.3",
3
+ "version": "3.11.0",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,8 +9,8 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/grid": "^3.2.10",
13
- "@react-types/shared": "^3.26.0"
12
+ "@react-types/grid": "^3.3.0",
13
+ "@react-types/shared": "^3.28.0"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
@@ -18,5 +18,5 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849"
21
+ "gitHead": "4d3c72c94eea2d72eb3a0e7d56000c6ef7e39726"
22
22
  }
package/src/index.d.ts CHANGED
@@ -153,7 +153,9 @@ export interface CellProps {
153
153
  /** The contents of the cell. */
154
154
  children: ReactNode,
155
155
  /** A string representation of the cell's contents, used for features like typeahead. */
156
- textValue?: string
156
+ textValue?: string,
157
+ /** Indicates how many columns the data cell spans. */
158
+ colSpan?: number
157
159
  }
158
160
 
159
161
  export type CellElement = ReactElement<CellProps>;