@react-types/table 3.13.4 → 3.13.6

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/table",
3
- "version": "3.13.4",
3
+ "version": "3.13.6",
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.3.6",
13
- "@react-types/shared": "^3.32.1"
12
+ "@react-types/grid": "^3.3.8",
13
+ "@react-types/shared": "^3.33.1"
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": "0bda51183baa23306342af32a82012ea0fe0f2dc"
21
+ "gitHead": "8df187370053aa35f553cb388ad670f65e1ab371"
22
22
  }
package/src/index.d.ts CHANGED
@@ -82,7 +82,7 @@ export interface SpectrumTableProps<T> extends TableProps<T>, SpectrumSelectionP
82
82
 
83
83
  export interface TableHeaderProps<T> {
84
84
  /** A list of table columns. */
85
- columns?: T[],
85
+ columns?: readonly T[],
86
86
  /** A list of `Column(s)` or a function. If the latter, a list of columns must be provided using the `columns` prop. */
87
87
  children: ColumnElement<T> | ColumnElement<T>[] | ColumnRenderer<T>
88
88
  }