@vuu-ui/vuu-table-types 4.1.0 → 4.1.1
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 +7 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import type {
|
|
|
22
22
|
FunctionComponentElement,
|
|
23
23
|
HTMLAttributes,
|
|
24
24
|
MouseEvent,
|
|
25
|
+
ReactNode,
|
|
25
26
|
} from "react";
|
|
26
27
|
|
|
27
28
|
export declare type ColumnMoveHandler = (
|
|
@@ -320,6 +321,12 @@ export interface ColumnDescriptor extends DataValueDescriptor {
|
|
|
320
321
|
* The icon will be displayed alongside the group label
|
|
321
322
|
*/
|
|
322
323
|
getIcon?: (row: DataRow) => string | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* Only used when the column is included in a groupby clause.
|
|
326
|
+
* Content rendered at the end of the group cell, after the label, e.g
|
|
327
|
+
* a count or status indicator.
|
|
328
|
+
*/
|
|
329
|
+
getGroupAdornment?: (row: DataRow) => ReactNode;
|
|
323
330
|
/**
|
|
324
331
|
* Can this column be included in a groupBy operation ? Default is true.
|
|
325
332
|
*/
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "4.1.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "4.1.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "4.1.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "4.1.1",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "4.1.1",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "4.1.1"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|