@gitkraken/gitkraken-components 10.4.0 → 10.5.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/dist/components/graph/GraphContainer.d.ts +3 -2
- package/dist/domain/cssvariable/CssVariableConstants.d.ts +1 -0
- package/dist/domain/graph/GraphConstants.d.ts +1 -1
- package/dist/domain/graph/GraphTypes.d.ts +3 -0
- package/dist/index.js +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import type { Sha } from '../../domain/commit/CommitTypes';
|
|
|
6
6
|
import type { CssVariables } from '../../domain/generic/GenericTypes';
|
|
7
7
|
import type { GraphCommitDescDisplayMode, GraphMarkerType, GraphZone, GraphZoneType, ShiftSelectMode } from '../../domain/graph/GraphConstants';
|
|
8
8
|
import type { ThrottledFn } from '../../domain/graph/GraphHelpers';
|
|
9
|
-
import type { AbsoluteNodeLeftByColumn, AvatarUrlByEmail, AvatarUrlRequestedByEmail, ChildrenBySha, ColumnColorByColumn, DownstreamsByUpstream, EdgeByColumn, ExcludeByType, ExcludeRefsById, ExcludeRemotesByName, FormatCommitMessage, FormatRefShorthand, GetExternalIcon, GetMissingAvatar, GetMissingRefMetadata, GraphColumnSetting, GraphColumnsSettings, GraphContexts, GraphMarkerColors, GraphMarkerRowIndices, GraphPlatform, GraphRefGroup, GraphRefOptData, GraphRow, GraphZoneModeConstants, GraphZonesByType, Head, HighlightedShas, IncludeOnlyRefsById, IncludeOnlyRemotesByName, IsRefShorthandValid, IsSelectedBySha, NodeOffsetByColumn, NodeOpacityByColumn, OnClearCurrentlyHoveredGraphCommit, OnClickCommit, OnClickRef, OnCommitContextMenu, OnCommitMessageChange, OnCurrentlyHoveredGraphCommit, OnDoubleClickCommit, OnDoubleClickRef, OnFilterColumnClick, OnFormatCommitDateTime, OnGraphColumnReOrdered, OnGraphMouseEnter, OnGraphMouseLeave, OnGraphResized, OnGraphVisibleRowsChanged, OnGraphZoneResize, OnGraphZoneResizeEnd, OnLoadSelectedGraphRow, OnPopupGraphHeaderContextMenu, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefCreate, OnRefCreateCancel, OnRefCreateContextMenu, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefNodeUnhovered, OnRefShorthandChange, OnRefZoneContextMenu, OnRefZoneHovered, OnRefZoneUnhovered, OnScrollForZone, OnSettingsClick, OnToggleRefNodesShown, OnWipMessageBlur, OnWipMessageFocus, ProcessedGraphRow, ProcessedGraphRowBySha, RefMetadataById, RefMetadataItem, RefMetadataRequestedById, RefMetadataType, RefsMissingMetadata, Remote, ReserverInfoBySha, RowEdges, RowStats, RowStatsConstraints, Tag, TopAndBottomVisibleRowIndex } from '../../domain/graph/GraphTypes';
|
|
9
|
+
import type { AbsoluteNodeLeftByColumn, AvatarUrlByEmail, AvatarUrlRequestedByEmail, ChildrenBySha, ColumnColorByColumn, DownstreamsByUpstream, EdgeByColumn, ExcludeByType, ExcludeRefsById, ExcludeRemotesByName, FormatCommitMessage, FormatRefShorthand, GetExternalIcon, GetMissingAvatar, GetMissingRefMetadata, GraphColumnSetting, GraphColumnsSettings, GraphContexts, GraphMarkerColors, GraphMarkerRowIndices, GraphPlatform, GraphRefGroup, GraphRefOptData, GraphRow, GraphZoneModeConstants, GraphZonesByType, Head, HighlightedShas, IncludeOnlyRefsById, IncludeOnlyRemotesByName, IsRefShorthandValid, IsSelectedBySha, NodeOffsetByColumn, NodeOpacityByColumn, OnClearCurrentlyHoveredGraphCommit, OnClickCommit, OnClickRef, OnCommitContextMenu, OnCommitMessageChange, OnCurrentlyHoveredGraphCommit, OnDoubleClickCommit, OnDoubleClickRef, OnFilterColumnClick, OnFormatCommitDateTime, OnGraphColumnReOrdered, OnGraphMouseEnter, OnGraphMouseLeave, OnGraphResized, OnGraphVisibleRowsChanged, OnGraphZoneResize, OnGraphZoneResizeEnd, OnLoadSelectedGraphRow, OnPopupGraphHeaderContextMenu, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefCreate, OnRefCreateCancel, OnRefCreateContextMenu, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefNodeUnhovered, OnRefShorthandChange, OnRefZoneContextMenu, OnRefZoneHovered, OnRefZoneUnhovered, OnScrollForZone, OnSettingsClick, OnToggleRefNodesShown, OnWipMessageBlur, OnWipMessageFocus, ProcessedGraphRow, ProcessedGraphRowBySha, RefMetadataById, RefMetadataItem, RefMetadataRequestedById, RefMetadataType, RefsMissingMetadata, Remote, ReserverInfoBySha, RowEdges, RowStats, RowStatsConstraints, ShaByRefId, Tag, TopAndBottomVisibleRowIndex } from '../../domain/graph/GraphTypes';
|
|
10
10
|
import type { TranslationFn } from '../../domain/language/LanguageTypes';
|
|
11
11
|
import type { CreateRefFormData, RefIconsPosition } from '../../domain/ref/RefTypes';
|
|
12
12
|
import type { OnBlur, OnKeyDown, OnKeyUp, OnMouseDown, OnResizeParams } from '../../domain/ui/UiTypes';
|
|
@@ -191,6 +191,7 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
|
|
|
191
191
|
selectedShas: Set<Sha>;
|
|
192
192
|
lastFocusedSha?: Sha;
|
|
193
193
|
processedGraphRowBySha: ProcessedGraphRowBySha;
|
|
194
|
+
shaByRefId: ShaByRefId;
|
|
194
195
|
childrenBySha: ChildrenBySha;
|
|
195
196
|
scrollToSha?: Sha;
|
|
196
197
|
headSha?: Sha;
|
|
@@ -325,7 +326,7 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
|
|
|
325
326
|
getBoxShadowAlphaForGutter(singleColumnModeFactor: number, gutterFactor: number): number;
|
|
326
327
|
getLeftGutterBoxShadowAlpha(themeOpacityFactor: number): number;
|
|
327
328
|
getRightGutterBoxShadowAlpha(themeOpacityFactor: number): number;
|
|
328
|
-
updateMarkerRowIndices(types: GraphMarkerType[]): void;
|
|
329
|
+
updateMarkerRowIndices(types: GraphMarkerType[], nextProps?: GraphContainerProps): void;
|
|
329
330
|
getMarkerColors(): GraphMarkerColors;
|
|
330
331
|
initializeGraphZones(zoneSettings: GraphColumnsSettings | undefined, zoneOrdering: GraphZoneType[], width: number): GraphZone[];
|
|
331
332
|
maybeSortGraphZoneOrderingFromSettings(zoneSettings?: GraphColumnsSettings): void;
|
|
@@ -259,6 +259,7 @@ export declare const DEFAULT_CSS_VARIABLES: {
|
|
|
259
259
|
'--scroll-marker-head-color': string;
|
|
260
260
|
'--scroll-marker-highlights-color': string;
|
|
261
261
|
'--scroll-marker-local-branches-color': string;
|
|
262
|
+
'--scroll-marker-pull-requests-color': string;
|
|
262
263
|
'--scroll-marker-remote-branches-color': string;
|
|
263
264
|
'--scroll-marker-selection-color': string;
|
|
264
265
|
'--scroll-marker-stashes-color': string;
|
|
@@ -75,7 +75,7 @@ export declare enum GraphColumnMode {
|
|
|
75
75
|
Rich = "rich",
|
|
76
76
|
Text = "text"
|
|
77
77
|
}
|
|
78
|
-
export type GraphMarkerType = 'head' | 'highlights' | 'localBranches' | 'remoteBranches' | 'selection' | 'stashes' | 'tags' | 'upstream';
|
|
78
|
+
export type GraphMarkerType = 'head' | 'highlights' | 'localBranches' | 'pullRequests' | 'remoteBranches' | 'selection' | 'stashes' | 'tags' | 'upstream';
|
|
79
79
|
export declare enum GraphMarkerShape {
|
|
80
80
|
Block = "block",
|
|
81
81
|
FullLine = "fullLine",
|