@react-types/table
Advanced tools
Comparing version
{ | ||
"name": "@react-types/table", | ||
"version": "3.0.0-nightly-6193c40ee-240920", | ||
"version": "3.0.0-nightly-62eb6ceca-250823", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,12 +12,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/grid": "^3.0.0-nightly-6193c40ee-240920", | ||
"@react-types/shared": "^3.0.0-nightly-6193c40ee-240920" | ||
"@react-types/grid": "3.0.0-nightly-62eb6ceca-250823", | ||
"@react-types/shared": "3.0.0-nightly-62eb6ceca-250823" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.10.1" | ||
} | ||
} |
@@ -32,3 +32,14 @@ /* | ||
/** A list of row keys to disable. */ | ||
disabledKeys?: Iterable<Key> | ||
disabledKeys?: Iterable<Key>, | ||
/** | ||
* Whether pressing the escape key should clear selection in the table or not. | ||
* | ||
* Most experiences should not modify this option as it eliminates a keyboard user's ability to | ||
* easily clear selection. Only use if the escape key is being handled externally or should not | ||
* trigger selection clearing contextually. | ||
* @default 'clearSelection' | ||
*/ | ||
escapeKeyBehavior?: 'clearSelection' | 'none', | ||
/** Whether selection should occur on press up instead of press down. */ | ||
shouldSelectOnPressUp?: boolean | ||
} | ||
@@ -157,3 +168,5 @@ | ||
/** A string representation of the cell's contents, used for features like typeahead. */ | ||
textValue?: string | ||
textValue?: string, | ||
/** Indicates how many columns the data cell spans. */ | ||
colSpan?: number | ||
} | ||
@@ -160,0 +173,0 @@ |
9207
6.74%175
8.02%+ Added
+ Added
- Removed
- Removed