@react-types/table 3.3.4-nightly.3617 → 3.3.4-nightly.3621
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 +4 -4
- package/src/index.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/table",
|
|
3
|
-
"version": "3.3.4-nightly.
|
|
3
|
+
"version": "3.3.4-nightly.3621+703ab7b45",
|
|
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.1.6-nightly.
|
|
13
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
12
|
+
"@react-types/grid": "3.1.6-nightly.3621+703ab7b45",
|
|
13
|
+
"@react-types/shared": "3.0.0-nightly.1921+703ab7b45"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "703ab7b4559ecd4fc611e7f2c0e758867990fe01"
|
|
22
22
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -45,6 +45,10 @@ export interface SpectrumTableProps<T> extends TableProps<T>, SpectrumSelectionP
|
|
|
45
45
|
renderEmptyState?: () => JSX.Element,
|
|
46
46
|
/** Handler that is called when a user performs an action on a row. */
|
|
47
47
|
onAction?: (key: Key) => void,
|
|
48
|
+
/**
|
|
49
|
+
* Handler that is called when a user starts a column resize.
|
|
50
|
+
*/
|
|
51
|
+
onResizeStart?: (widths: Map<Key, ColumnSize>) => void,
|
|
48
52
|
/**
|
|
49
53
|
* Handler that is called when a user performs a column resize.
|
|
50
54
|
* Can be used with the width property on columns to put the column widths into
|