@react-types/table
Advanced tools
Comparing version
{ | ||
"name": "@react-types/table", | ||
"version": "3.0.0-nightly-2a1c28b83-250122", | ||
"version": "3.0.0-nightly-2d8e30f4f-250415", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/grid": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-types/shared": "3.0.0-nightly-2a1c28b83-250122" | ||
"@react-types/grid": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-types/shared": "3.0.0-nightly-2d8e30f4f-250415" | ||
}, | ||
@@ -16,0 +16,0 @@ "peerDependencies": { |
@@ -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
7.06%175
8.02%+ Added
+ Added
- Removed
- Removed