@react-types/table
Advanced tools
Comparing version
{ | ||
"name": "@react-types/table", | ||
"version": "3.0.0-nightly-c78b24831-250206", | ||
"version": "3.0.0-nightly-c81a23ccd-250409", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/grid": "3.0.0-nightly-c78b24831-250206", | ||
"@react-types/shared": "3.0.0-nightly-c78b24831-250206" | ||
"@react-types/grid": "3.0.0-nightly-c81a23ccd-250409", | ||
"@react-types/shared": "3.0.0-nightly-c81a23ccd-250409" | ||
}, | ||
@@ -16,0 +16,0 @@ "peerDependencies": { |
@@ -32,3 +32,12 @@ /* | ||
/** 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' | ||
} | ||
@@ -157,3 +166,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 +171,0 @@ |
9097
5.78%173
6.79%+ Added
+ Added
- Removed
- Removed