@gitkraken/gitkraken-components 1.0.0 → 1.1.0-rc.2
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;
|
|
@@ -225,13 +224,8 @@ export interface GraphContainerProps {
|
|
|
225
224
|
hasMoreCommits?: boolean;
|
|
226
225
|
highlightedShas?: HighlightedShas;
|
|
227
226
|
hiddenRefsById?: HiddenRefsById;
|
|
228
|
-
// isCommitting: boolean;
|
|
229
227
|
isSelectedBySha?: IsSelectedBySha;
|
|
230
|
-
// isInUnsupportedRebase: boolean;
|
|
231
228
|
isLoadingRows?: boolean;
|
|
232
|
-
// maybeCreateRefFormSha: ?Sha;
|
|
233
|
-
// pendingCommitMessageSummary: string;
|
|
234
|
-
// repoPath: string;
|
|
235
229
|
columnsSettings?: GraphColumnsSettings;
|
|
236
230
|
refMetadataById?: RefMetadataById;
|
|
237
231
|
themeOpacityFactor?: number;
|
|
@@ -245,18 +239,14 @@ export interface GraphContainerProps {
|
|
|
245
239
|
onGraphRowUnhovered?: OnGraphRowUnhovered;
|
|
246
240
|
onGraphRefNodeHovered?: OnGraphRefNodeHovered;
|
|
247
241
|
onGraphRefNodeUnhovered?: OnGraphRefNodeUnhovered;
|
|
248
|
-
// onBlurWipNodeInput: OnBlur;
|
|
249
242
|
onColumnResized?: OnGraphColumnResized;
|
|
250
|
-
// onFocusWipNodeInput: OnFocus;
|
|
251
|
-
// onMessageChange: OnCommitMessageChange;
|
|
252
243
|
onClickGraphRef?: OnClickGraphRef;
|
|
253
244
|
onClickGraphRow?: OnClickGraphRow;
|
|
254
245
|
onDoubleClickGraphRow?: OnDoubleClickGraphRow;
|
|
255
246
|
onDoubleClickGraphRef?: OnDoubleClickGraphRef;
|
|
256
247
|
onSelectGraphRows?: OnSelectGraphRows;
|
|
257
248
|
onShowMoreCommits?: OnShowMoreCommits;
|
|
258
|
-
|
|
259
|
-
// onUpdateGraphWidth: OnUpdateGraphWidth;
|
|
249
|
+
onGraphResized?: OnGraphResized;
|
|
260
250
|
onEmailsMissingAvatarUrls?: OnEmailsMissingAvatarUrls;
|
|
261
251
|
onRefsMissingMetadata?: OnRefsMissingMetadata;
|
|
262
252
|
formatCommitDateTime?: OnFormatCommitDateTime;
|