@firecms/core 3.0.0-alpha.24 → 3.0.0-alpha.25
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/dist/core/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +2 -1
- package/dist/core/components/VirtualTable/VirtualTableHeader.d.ts +3 -1
- package/dist/core/components/VirtualTable/VirtualTableProps.d.ts +3 -1
- package/dist/index.es.js +6405 -6353
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/types/plugins.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/TextField.tsx +2 -2
- package/src/core/components/EntityCollectionTable/EntityCollectionTable.tsx +16 -13
- package/src/core/components/EntityCollectionTable/EntityCollectionTableProps.tsx +3 -1
- package/src/core/components/EntityCollectionView/EntityCollectionView.tsx +58 -4
- package/src/core/components/VirtualTable/VirtualTableHeader.tsx +11 -13
- package/src/core/components/VirtualTable/VirtualTableHeaderRow.tsx +1 -1
- package/src/core/components/VirtualTable/VirtualTableProps.tsx +1 -1
- package/src/types/plugins.tsx +1 -1
|
@@ -83,12 +83,13 @@ export type EntityCollectionTableProps<M extends Record<string, any>, Additional
|
|
|
83
83
|
filterable?: boolean;
|
|
84
84
|
sortable?: boolean;
|
|
85
85
|
endAdornment?: React.ReactNode;
|
|
86
|
-
|
|
86
|
+
AdditionalHeaderWidget?: (props: {
|
|
87
87
|
property: ResolvedProperty;
|
|
88
88
|
propertyKey: string;
|
|
89
89
|
onHover: boolean;
|
|
90
90
|
}) => React.ReactNode;
|
|
91
91
|
AddColumnComponent?: React.ComponentType;
|
|
92
|
+
additionalIDHeaderWidget?: React.ReactNode;
|
|
92
93
|
};
|
|
93
94
|
export type GetPropertyForProps<M extends Record<string, any>> = {
|
|
94
95
|
propertyKey: string;
|
|
@@ -19,7 +19,9 @@ type VirtualTableHeaderProps<M extends Record<string, any>> = {
|
|
|
19
19
|
onFilterUpdate: (column: VirtualTableColumn, filterForProperty?: [VirtualTableWhereFilterOp, any]) => void;
|
|
20
20
|
onClickResizeColumn?: (columnIndex: number, column: VirtualTableColumn) => void;
|
|
21
21
|
createFilterField?: (props: FilterFormFieldProps<any>) => React.ReactNode;
|
|
22
|
-
|
|
22
|
+
AdditionalHeaderWidget?: (props: {
|
|
23
|
+
onHover: boolean;
|
|
24
|
+
}) => React.ReactNode;
|
|
23
25
|
};
|
|
24
26
|
export declare const VirtualTableHeader: React.FunctionComponent<VirtualTableHeaderProps<any>>;
|
|
25
27
|
export {};
|
|
@@ -178,7 +178,9 @@ export interface VirtualTableColumn<CustomProps extends any = any> {
|
|
|
178
178
|
/**
|
|
179
179
|
* Additional children to be rendered in the header when hovering
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
AdditionalHeaderWidget?: (props: {
|
|
182
|
+
onHover: boolean;
|
|
183
|
+
}) => React.ReactNode;
|
|
182
184
|
}
|
|
183
185
|
/**
|
|
184
186
|
* @see Table
|