@gitkraken/gitkraken-components 1.0.0 → 1.1.0-rc.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.
|
@@ -204,6 +204,7 @@ export type OnGraphRowUnhovered = (event: any, graphZoneType: GraphZoneType, gra
|
|
|
204
204
|
export type OnGraphRefNodeHovered = (event: any, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
205
205
|
export type OnGraphRefNodeUnhovered = (event: any, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
206
206
|
export type OnGraphColumnResized = (graphZoneType: GraphZoneType, columnSettings: GraphColumnSetting) => void;
|
|
207
|
+
export type OnGraphResized = (width: number, height: number) => void;
|
|
207
208
|
export type OnShowMoreCommits = () => void;
|
|
208
209
|
export type OnEmailsMissingAvatarUrls = (emails: { [email: string]: string }) => void;
|
|
209
210
|
export type OnRefsMissingMetadata = (refs: RefsMissingMetadata) => void;
|
|
@@ -212,8 +213,6 @@ export type OnRefsMissingMetadata = (refs: RefsMissingMetadata) => void;
|
|
|
212
213
|
export interface GraphContainerProps {
|
|
213
214
|
avatarUrlByEmail?: AvatarUrlByEmail;
|
|
214
215
|
contexts?: GraphContexts;
|
|
215
|
-
height?: number;
|
|
216
|
-
width?: number;
|
|
217
216
|
platform?: GraphPlatform;
|
|
218
217
|
cssVariables?: CssVariables;
|
|
219
218
|
getExternalIcon: GetExternalIcon;
|
|
@@ -256,7 +255,7 @@ export interface GraphContainerProps {
|
|
|
256
255
|
onSelectGraphRows?: OnSelectGraphRows;
|
|
257
256
|
onShowMoreCommits?: OnShowMoreCommits;
|
|
258
257
|
// onWipNodeInputWillUnmount: OnComponentWillUnmount;
|
|
259
|
-
|
|
258
|
+
onGraphResized?: OnGraphResized;
|
|
260
259
|
onEmailsMissingAvatarUrls?: OnEmailsMissingAvatarUrls;
|
|
261
260
|
onRefsMissingMetadata?: OnRefsMissingMetadata;
|
|
262
261
|
formatCommitDateTime?: OnFormatCommitDateTime;
|