@vuu-ui/vuu-table-types 0.8.63 → 0.8.65
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/index.d.ts +10 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -78,9 +78,19 @@ export interface TableCellRendererProps
|
|
|
78
78
|
onCommit?: DataItemCommitHandler;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* static layout simply respects widths specified on column descriptors.
|
|
83
|
+
* fit layout attempts to fit columns to available space, either stretching
|
|
84
|
+
* or squeezing. manual indicates that user has resized one or more columns,
|
|
85
|
+
* on what was originally a fit layout. Once this happens, no further auto
|
|
86
|
+
* fitting will take place. Fit layout always respects max and min widths,
|
|
87
|
+
*/
|
|
88
|
+
export type ColumnLayout = "static" | "fit" | "manual";
|
|
89
|
+
|
|
81
90
|
export interface TableAttributes {
|
|
82
91
|
columnDefaultWidth?: number;
|
|
83
92
|
columnFormatHeader?: "capitalize" | "uppercase";
|
|
93
|
+
columnLayout?: ColumnLayout;
|
|
84
94
|
columnSeparators?: boolean;
|
|
85
95
|
// showHighlightedRow?: boolean;
|
|
86
96
|
rowSeparators?: boolean;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.65",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "0.8.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "0.8.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "0.8.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "0.8.65",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "0.8.65",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "0.8.65"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|