@gitkraken/gitkraken-components 13.0.0-vnext.10 → 13.0.0-vnext.15

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.
Files changed (32) hide show
  1. package/dist/components/dnd/DndComponent.d.ts +1 -1
  2. package/dist/components/dnd/DndContainer.d.ts +1 -1
  3. package/dist/components/graph/GraphColumn.d.ts +2 -1
  4. package/dist/components/graph/GraphContainer.d.ts +21 -11
  5. package/dist/components/graph/GraphHeaderRow.d.ts +1 -1
  6. package/dist/components/graph/GraphScrollMarker.d.ts +1 -1
  7. package/dist/components/graph/commitzone/CommitNode.d.ts +1 -1
  8. package/dist/components/graph/commitzone/CommitZone.d.ts +1 -1
  9. package/dist/components/graph/commitzone/GraphAvatar.d.ts +1 -1
  10. package/dist/components/graph/commitzone/edges/Edges.d.ts +1 -1
  11. package/dist/components/graph/common/DraggableGraphHeader.d.ts +1 -1
  12. package/dist/components/graph/common/GenericGraphZone.d.ts +1 -1
  13. package/dist/components/graph/common/ScrollbarContainer.d.ts +1 -1
  14. package/dist/components/graph/messagezone/WorkDirMessageInput.d.ts +1 -1
  15. package/dist/components/graph/refzone/CreateRefNode.d.ts +1 -1
  16. package/dist/components/graph/refzone/RefNode.d.ts +1 -1
  17. package/dist/components/graph/rowRenderers/CommitsInfoRow.d.ts +1 -1
  18. package/dist/components/graph/shared/Avatar.d.ts +1 -1
  19. package/dist/components/graph/shared/FileDiffTypeIcon.d.ts +2 -1
  20. package/dist/components/graph/shared/WipStatsPill.d.ts +11 -0
  21. package/dist/components/resizable/Resizable.d.ts +2 -2
  22. package/dist/domain/generic/GenericTypes.d.ts +4 -0
  23. package/dist/domain/graph/GraphConstants.d.ts +2 -0
  24. package/dist/domain/graph/GraphTypes.d.ts +7 -5
  25. package/dist/domain/graph/row/ProcessedGraphRowObj.d.ts +3 -4
  26. package/dist/domain/reactvirtualized/ReactVirtualizedHelpers.d.ts +1 -1
  27. package/dist/index.js +8 -9
  28. package/dist/styles.css +1 -1
  29. package/dist/utils/ObjectUtils.d.ts +29 -0
  30. package/package.json +99 -96
  31. package/CHANGELOG.md +0 -18
  32. package/ThirdPartyNotices.txt +0 -227
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties, ReactElement, ReactNode } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  export type DndCanDrag = (sourceData?: any) => boolean;
4
4
  export type DndOnBeginDrag = (event: React.DragEvent, sourceData?: any) => void;
5
5
  export type DndOnDragEnter = (event: React.DragEvent, sourceData?: any, targetData?: any) => void;
@@ -1,6 +1,6 @@
1
1
  import type { Drake } from 'dragula';
2
2
  import type { ReactElement, ReactNode } from 'react';
3
- import React from 'react';
3
+ import * as React from 'react';
4
4
  export type DndDirection = 'vertical' | 'horizontal';
5
5
  export type DndIsDraggable = (source: ReactElement<any>) => boolean;
6
6
  export type DndIsDroppable = (source: ReactElement<any>, target: ReactElement<any>) => boolean;
@@ -20,6 +20,7 @@ type GraphColumnProps = {
20
20
  graphZones: GraphZone[];
21
21
  hasMoreCommits: boolean;
22
22
  horizontalScrollHeight: number;
23
+ isCommitListFiltered: boolean;
23
24
  isLoadingRows: boolean;
24
25
  markerColors: GraphMarkerColors;
25
26
  markerRowIndices: GraphMarkerRowIndices;
@@ -39,5 +40,5 @@ type GraphColumnProps = {
39
40
  translate: TranslationFn;
40
41
  verticalScrollWidth: number;
41
42
  };
42
- export declare function GraphColumn({ branchUpstreamRowIndices, rowCount, cellRenderersByIds, columnIndex, customFooterRow, enabledScrollMarkerTypes, enableResizer, getExternalIcon, getKeyForCell, graphHeight, graphWidth, graphZoneType, graphZones, hasMoreCommits, horizontalScrollHeight, isLoadingRows, markerColors, markerRowIndices, onResize, onResizeEnd, onResizeFromPropChange, onScroll, onScrollToRowCausedUpdate, onZoneEnter, scrollLeft, scrollToAlignment, scrollToIndex, scrollTop, smartCellRangeRenderer, translate, verticalScrollWidth, }: GraphColumnProps): ReactElement<any> | null;
43
+ export declare function GraphColumn({ branchUpstreamRowIndices, rowCount, cellRenderersByIds, columnIndex, customFooterRow, enabledScrollMarkerTypes, enableResizer, getExternalIcon, getKeyForCell, graphHeight, graphWidth, graphZoneType, graphZones, hasMoreCommits, horizontalScrollHeight, isCommitListFiltered, isLoadingRows, markerColors, markerRowIndices, onResize, onResizeEnd, onResizeFromPropChange, onScroll, onScrollToRowCausedUpdate, onZoneEnter, scrollLeft, scrollToAlignment, scrollToIndex, scrollTop, smartCellRangeRenderer, translate, verticalScrollWidth, }: GraphColumnProps): ReactElement<any> | null;
43
44
  export {};
@@ -1,6 +1,6 @@
1
1
  import type { Alignment, ScrollParams } from 'react-virtualized';
2
2
  import type { ReactElement } from 'react';
3
- import React from 'react';
3
+ import * as React from 'react';
4
4
  import type { Sha } from '../../domain/commit/CommitTypes';
5
5
  import type { CssVariables } from '../../domain/generic/GenericTypes';
6
6
  import type { GraphCommitDescDisplayMode, GraphMarkerType, GraphSearchMode, GraphZone, GraphZoneType, ShiftSelectMode } from '../../domain/graph/GraphConstants';
@@ -164,6 +164,7 @@ type HasMergeNodeChildBySha = {
164
164
  [sha: Sha]: boolean;
165
165
  };
166
166
  declare class GraphContainer extends React.Component<Props, ComponentState> implements IGraphContainer {
167
+ static getDerivedStateFromProps(props: Props, state: ComponentState): Partial<ComponentState> | null;
167
168
  private graphComponentRef;
168
169
  private graphContainerRef;
169
170
  private resizeObserver;
@@ -189,10 +190,12 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
189
190
  shouldFireShowMoreCommits: boolean;
190
191
  columnsToFreeWhenFound: ColumnsToFreeBySha;
191
192
  hasMergeNodeChildBySha: HasMergeNodeChildBySha;
193
+ private _autoLoadTimer?;
192
194
  reserverInfoBySha: ReserverInfoBySha;
193
195
  columnsUsed: ColumnsUsed;
194
196
  rowsStats?: Record<string, RowStats>;
195
197
  workDirStats: WorkDirStats;
198
+ private _markerColorsCache;
196
199
  excludeByType: ExcludeByType;
197
200
  excludeRefsById: ExcludeRefsById;
198
201
  includeOnlyRefsById: IncludeOnlyRefsById;
@@ -208,18 +211,18 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
208
211
  graphZonesByType: GraphZonesByType;
209
212
  graphZoneOrdering: GraphZoneType[];
210
213
  clientHeight: number;
211
- missingAvatarsTimer?: NodeJS.Timeout;
214
+ missingAvatarsTimer?: ReturnType<typeof setTimeout>;
212
215
  pendingMissingAvatars: AvatarUrlByEmail;
213
216
  requestedMissingAvatars: AvatarUrlRequestedByEmail;
214
- missingRefsMetadataTimer?: NodeJS.Timeout;
217
+ missingRefsMetadataTimer?: ReturnType<typeof setTimeout>;
215
218
  pendingMissingRefsMetadata: RefsMissingMetadata;
216
219
  requestedMissingRefsMetadata: RefMetadataRequestedById;
217
220
  branchUpstreamRowIndices: number[];
218
221
  downstreamsByUpstream: DownstreamsByUpstream;
219
- timelinesInterval?: NodeJS.Timeout;
222
+ timelinesInterval?: ReturnType<typeof setInterval>;
220
223
  constructor(props: Props);
221
224
  componentDidMount(): void;
222
- UNSAFE_componentWillReceiveProps(nextProps: Props): void;
225
+ componentDidUpdate(prevProps: Props, prevState: ComponentState): void;
223
226
  componentWillUnmount(): void;
224
227
  focus(): void;
225
228
  getRefIconsPositionOrDefault(refIconsPosition?: RefIconsPosition | null): RefIconsPosition;
@@ -280,26 +283,29 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
280
283
  onShowMoreCommits: OnShowMoreCommits;
281
284
  onScrollForZone: OnScrollForZone;
282
285
  loadMoreCommitsIfNecessary(graphHeight: number, hasMoreCommits: boolean): void;
286
+ private shouldAutoLoadToFillViewport;
287
+ private autoLoadToFillViewport;
283
288
  onScrollToRowCausedUpdateForFirstColumn: OnScrollForZone;
284
289
  onCommitContextMenu: OnCommitContextMenu;
285
290
  onRefContextMenu: OnRefZoneContextMenu;
286
- /**
287
- * Check if an object has any keys (more efficient than Object.keys().length > 0)
288
- */
289
- private hasAnyKey;
290
291
  /**
291
292
  * Deep equality check for isSelectedBySha objects to avoid unnecessary scroll-to-selection
292
293
  * when object reference changes but content is the same (e.g., after postMessage serialization)
293
294
  */
294
295
  private isSelectedByShaEqual;
296
+ private _pendingRowsUpdate;
297
+ private _selectionVersion;
295
298
  selectCommits(shas: Sha[], includeToPrevSel: boolean, isAutoOrKeyScroll: boolean): void;
296
299
  getCommitZoneContentWidthBetweenGutters(): number;
297
- getSelectedShas(): Sha[];
298
300
  getExcludeRemotesByName(): ExcludeRemotesByName;
299
301
  getIncludeOnlyRemotesByName(): IncludeOnlyRemotesByName;
300
302
  clearScrollToIndex: ClearScrollToIndex;
301
303
  getTopAndBottomVisibleRowIndex(): TopAndBottomVisibleRowIndex;
302
- getOffsetSha(sha: Sha): Sha;
304
+ getOffsetSha(sha: Sha, scrollDirection: 'up' | 'down' | 'none', lastScrollDirection: 'up' | 'down' | 'none' | undefined, isAutoOrKeyScroll: boolean): Sha;
305
+ private _pendingScrollUpdate;
306
+ private _lastSelectedRowIndex;
307
+ private _lastScrollDirection;
308
+ private _scrollToAlignmentOverride;
303
309
  selectSha(sha: Sha, isAutoOrKeyScroll?: boolean): void;
304
310
  updateWidthByZone(widthToAssignForZone: number, graphZoneType: GraphZoneType, updatePreferredWidth?: boolean): void;
305
311
  updateCommitZoneContentWidthFromChange(): void;
@@ -356,6 +362,10 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
356
362
  selectNext(topological?: boolean): void;
357
363
  selectPrevious(topological?: boolean): void;
358
364
  selectHead(upstream?: boolean): void;
365
+ selectFirst(shiftKey?: boolean): void;
366
+ selectLast(shiftKey?: boolean): void;
367
+ selectPageUp(shiftKey?: boolean): void;
368
+ selectPageDown(shiftKey?: boolean): void;
359
369
  getAvailableColumnAndUseIt(): number;
360
370
  getColumns(graphRow: GraphRow): number;
361
371
  getFilteredHeadsForGraphRow(row: GraphRow, hasIncludes: boolean): Head[];
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { GraphZone } from '../../domain/graph/GraphConstants';
4
4
  import type { ExcludeRefsById, GetExternalIcon, GraphColumnsSettings, GraphItemContext, IncludeOnlyRefsById, OnFilterColumnClick, OnGraphColumnReOrdered, OnGraphZoneResize, OnGraphZoneResizeEnd, OnGraphZoneResizeFromPropChange, OnPopupGraphHeaderContextMenu, OnSettingsClick, OnToggleRefNodesShown } from '../../domain/graph/GraphTypes';
5
5
  import type { TranslationFn } from '../../domain/language/LanguageTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { GraphMarkerType } from '../../domain/graph/GraphConstants';
4
4
  import type { GraphMarkerColors, GraphMarkerRowIndices } from '../../domain/graph/GraphTypes';
5
5
  interface Props {
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { CommitType } from '../../../domain/commit/CommitTypes';
4
4
  import type { CssVariables } from '../../../domain/generic/GenericTypes';
5
5
  import type { GetExternalIcon, GraphItemContext, GraphZoneModeConstants } from '../../../domain/graph/GraphTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { CommitType, Sha } from '../../../domain/commit/CommitTypes';
4
4
  import type { CssVariables, Style } from '../../../domain/generic/GenericTypes';
5
5
  import type { ColumnColorByColumn, GetExternalIcon, GraphItemContext, GraphZoneModeConstants, OnClearCurrentlyHoveredGraphCommit, OnClickCommit, OnCommitContextMenu, OnCurrentlyHoveredGraphCommit, OnDoubleClickCommit, RowEdges } from '../../../domain/graph/GraphTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { CssVariables, Style } from '../../../domain/generic/GenericTypes';
4
4
  import type { GraphItemContext } from '../../../domain/graph/GraphTypes';
5
5
  import type { ComponentTooltip } from '../../../domain/ui/UiTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { ColumnColorByColumn, GraphZoneModeConstants, RowEdges } from '../../../../domain/graph/GraphTypes';
4
4
  type EdgeProps = {
5
5
  columnColorByColumn: ColumnColorByColumn;
@@ -1,5 +1,5 @@
1
1
  import type { MouseEventHandler, ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { GraphZone, GraphZoneType } from '../../../domain/graph/GraphConstants';
4
4
  import type { ExcludeRefsById, GetExternalIcon, GraphColumnSetting, GraphItemContext, GraphRefOptData, IncludeOnlyRefsById, OnFilterColumnClick, OnGraphZoneResize, OnGraphZoneResizeEnd, OnGraphZoneResizeFromPropChange, OnGraphZoneResizeStart, OnSettingsClick, OnToggleRefNodesShown } from '../../../domain/graph/GraphTypes';
5
5
  import type { TranslationFn } from '../../../domain/language/LanguageTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { CommitType, Sha } from '../../../domain/commit/CommitTypes';
4
4
  import type { Style } from '../../../domain/generic/GenericTypes';
5
5
  import type { GraphZoneType } from '../../../domain/graph/GraphConstants';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement, ReactNode } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  export type ScrollParams = {
4
4
  clientHeight: number;
5
5
  clientWidth: number;
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { Sha } from '../../../domain/commit/CommitTypes';
4
4
  import type { Style } from '../../../domain/generic/GenericTypes';
5
5
  import type { GraphZoneType } from '../../../domain/graph/GraphConstants';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { Style } from '../../../domain/generic/GenericTypes';
4
4
  import type { FormatRefShorthand, IsRefShorthandValid, OnRefCreate, OnRefCreateCancel, OnRefCreateContextMenu, OnRefShorthandChange } from '../../../domain/graph/GraphTypes';
5
5
  import type { TranslationFn } from '../../../domain/language/LanguageTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { CommitType, Sha } from '../../../domain/commit/CommitTypes';
4
4
  import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, GraphRef, GraphRefGroup, OnClickRef, OnClickRefMetadata, OnDoubleClickRef, OnDoubleClickRefMetadata, OnHideRefClick, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefZoneContextMenu, RefMetadataById, RefMetadataItem, RefMetadataType } from '../../../domain/graph/GraphTypes';
5
5
  import type { TranslationFn } from '../../../domain/language/LanguageTypes';
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { Style } from '../../../domain/generic/GenericTypes';
4
4
  import type { GraphZoneType } from '../../../domain/graph/GraphConstants';
5
5
  import type { GetExternalIcon } from '../../../domain/graph/GraphTypes';
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties, ReactElement, ReactNode } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { GraphItemContext } from '../../../domain/graph/GraphTypes';
4
4
  type DataURLBase64 = string;
5
5
  type Props = {
@@ -1,5 +1,5 @@
1
1
  import type { ReactElement } from 'react';
2
- import React from 'react';
2
+ import * as React from 'react';
3
3
  import type { Style } from '../../../domain/generic/GenericTypes';
4
4
  import type { GetExternalIcon } from '../../../domain/graph/GraphTypes';
5
5
  import type { TranslationFn } from '../../../domain/language/LanguageTypes';
@@ -8,6 +8,7 @@ type Props = {
8
8
  fileDiffType: string;
9
9
  getExternalIcon: GetExternalIcon;
10
10
  translate: TranslationFn;
11
+ noMargin?: boolean;
11
12
  };
12
13
  declare class FileDiffTypeIcon extends React.Component<Props> {
13
14
  render(): ReactElement<'span'> | null;
@@ -0,0 +1,11 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { GetExternalIcon } from '../../../domain/graph/GraphTypes';
3
+ import type { TranslationFn } from '../../../domain/language/LanguageTypes';
4
+ import type { WorkDirStats } from '../../../domain/workdir/WorkDirTypes';
5
+ type Props = {
6
+ workDirStats: WorkDirStats;
7
+ getExternalIcon: GetExternalIcon;
8
+ translate: TranslationFn;
9
+ };
10
+ declare function WipStatsPill({ workDirStats, getExternalIcon, translate }: Props): ReactElement<'span'> | null;
11
+ export default WipStatsPill;
@@ -1,6 +1,6 @@
1
1
  import type { HandleStyles, ResizeCallback, ResizeStartCallback } from 're-resizable';
2
2
  import type { ReactElement, ReactNode } from 'react';
3
- import React from 'react';
3
+ import * as React from 'react';
4
4
  import type { Style } from '../../domain/generic/GenericTypes';
5
5
  import type { TranslationFn } from '../../domain/language/LanguageTypes';
6
6
  import type { OnResize, OnResizeEnd, OnResizeFromPropChange, OnResizeStart, OnWheel } from '../../domain/ui/UiTypes';
@@ -64,7 +64,7 @@ interface State extends Dimensions {
64
64
  }
65
65
  export default class Resizable extends React.PureComponent<Props, State> {
66
66
  static defaultProps: DefaultProps;
67
- onWheelTimeOut?: NodeJS.Timeout;
67
+ onWheelTimeOut?: ReturnType<typeof setTimeout>;
68
68
  isMouseWheeling: boolean;
69
69
  constructor(props: Props);
70
70
  static getDerivedStateFromProps(props: Props, state: State): State;
@@ -17,7 +17,11 @@ export declare enum NamedKeys {
17
17
  arrowDownKey = "ArrowDown",
18
18
  arrowUpKey = "ArrowUp",
19
19
  controlKey = "Control",
20
+ endKey = "End",
21
+ homeKey = "Home",
20
22
  metaKey = "Meta",
23
+ pageDownKey = "PageDown",
24
+ pageUpKey = "PageUp",
21
25
  shiftKey = "Shift"
22
26
  }
23
27
  export type MapWithCacheQueue<T, U> = {
@@ -70,6 +70,8 @@ export declare const commitAuthorZone: CommitAuthorZoneType;
70
70
  export declare const commitDateTimeZone: CommitDateTimeZoneType;
71
71
  export declare const commitShaZone: CommitShaZoneType;
72
72
  export declare const changesZone: ChangesZoneType;
73
+ /** A special sha used to indicate that the graph should be highlighted but there are no rows to highlight */
74
+ export declare const noShaHighlightedSha = "no-sha-highlighted";
73
75
  export declare enum GraphColumnMode {
74
76
  Compact = "compact",
75
77
  Rich = "rich",
@@ -1,5 +1,5 @@
1
1
  import type { GridCellRenderer, ScrollParams } from 'react-virtualized';
2
- import type { ReactElement } from 'react';
2
+ import type { ReactElement, ReactNode } from 'react';
3
3
  import type { CommitDateTimeSources } from '../commit/CommitConstants';
4
4
  import type { CommitType, Sha } from '../commit/CommitTypes';
5
5
  import type { CssVariables } from '../generic/GenericTypes';
@@ -317,9 +317,8 @@ export interface ProcessedGraphRow extends GraphRow {
317
317
  rowIndex?: number;
318
318
  column: number;
319
319
  columnForColoring?: number;
320
- displayMessage: string;
321
- displaySummary: string;
322
- displayBody?: string;
320
+ displaySummary: string | ReactNode;
321
+ displayBody?: string | ReactNode;
323
322
  edges: RowEdges;
324
323
  edgeColumnMaxes: number;
325
324
  hasRefs?: boolean;
@@ -430,7 +429,10 @@ export type OnGraphMouseLeave = (event: React.MouseEvent<any>) => void;
430
429
  export type OnClearCurrentlyHoveredGraphCommit = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, sha: Sha, currentlyHoveredCommitSha?: Sha) => void;
431
430
  export type CommitDateTimeSource = CommitDateTimeSources;
432
431
  export type OnFormatCommitDateTime = (commitDateTime: number, source?: CommitDateTimeSource) => string;
433
- export type FormatCommitMessage = (commitMessage: string) => string;
432
+ export type FormatCommitMessage = (commitMessage: string) => {
433
+ summary: string | ReactNode;
434
+ body?: string | ReactNode;
435
+ };
434
436
  export type OnCurrentlyHoveredGraphCommit = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, sha: Sha, currentlyHoveredCommitSha?: Sha) => void;
435
437
  export type OnClickCommit = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, sha: Sha) => void;
436
438
  export type OnClickRef = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, sha: Sha, metadataItem?: RefMetadataItem) => void;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { IGraphContainer } from '../../../components/graph/IGraphContainer';
2
3
  import type { CommitType, Sha } from '../../commit/CommitTypes';
3
4
  import type { TimelineEntry } from '../GraphConstants';
@@ -28,9 +29,8 @@ export declare class ProcessedGraphRowObj implements ProcessedGraphRow {
28
29
  timeLineEntry?: TimelineEntry;
29
30
  summary: string;
30
31
  body?: string;
31
- displayMessage: string;
32
- displaySummary: string;
33
- displayBody?: string;
32
+ displaySummary: string | ReactNode;
33
+ displayBody?: string | ReactNode;
34
34
  set message(message: string);
35
35
  get message(): string;
36
36
  get heads(): Head[];
@@ -43,7 +43,6 @@ export declare class ProcessedGraphRowObj implements ProcessedGraphRow {
43
43
  get hasChildRefs(): boolean;
44
44
  get refsData(): GraphRefsData | undefined;
45
45
  constructor(graphContainer: IGraphContainer, row: GraphRow, column?: number, edgeColumnMaxes?: number, edges?: RowEdges, childRefs?: ChildRefsByType, timeLineEntry?: TimelineEntry, columnForColoring?: number);
46
- private updateSummaryAndBody;
47
46
  private initializeRefGroups;
48
47
  private addRefToRefGroup;
49
48
  private loadGraphRefGroupsData;
@@ -8,4 +8,4 @@ export type CustomCellCacheValue = {
8
8
  export type CustomCellCache = {
9
9
  [key: string]: CustomCellCacheValue;
10
10
  };
11
- export declare const makeSmartCellRangeRenderer: (getRealKeyForCell: GetRealKeyForCellFunc) => GridCellRangeRenderer;
11
+ export declare const makeSmartCellRangeRenderer: (getRealKeyForCell: GetRealKeyForCellFunc, scrollLeft?: number) => GridCellRangeRenderer;