@gitkraken/gitkraken-components 10.1.11 → 10.1.12
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 +2 -0
- package/dist/components/graph/GraphHeaderRow.d.ts +1 -0
- package/dist/components/graph/common/DraggableGraphHeader.d.ts +1 -0
- package/dist/components/graph/refzone/RefNode.d.ts +1 -0
- package/dist/components/graph/refzone/RefNodes.d.ts +2 -1
- package/dist/components/graph/refzone/RefZone.d.ts +1 -0
- package/dist/components/graph/rowRenderers/RefZoneRow.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export interface StateProps {
|
|
|
43
43
|
cssVariables?: CssVariables;
|
|
44
44
|
contexts?: GraphContexts | null;
|
|
45
45
|
dimMergeCommits?: boolean;
|
|
46
|
+
enableShowHideRefsOptions?: boolean;
|
|
46
47
|
downstreamsByUpstream?: DownstreamsByUpstream;
|
|
47
48
|
highlightRowsOnRefHover?: boolean;
|
|
48
49
|
isContainerWindowFocused?: boolean;
|
|
@@ -122,6 +123,7 @@ type ComponentState = {
|
|
|
122
123
|
currentlyHoveredCommitSha?: Sha;
|
|
123
124
|
dimMergeCommits: boolean;
|
|
124
125
|
dimRowsOfSelectedCommit: boolean;
|
|
126
|
+
enableShowHideRefsOptions: boolean;
|
|
125
127
|
highlightRowsOnRefHover: boolean;
|
|
126
128
|
showGhostRefsOnRowHover: boolean;
|
|
127
129
|
showRemoteNamesOnRefs: boolean;
|
|
@@ -8,6 +8,7 @@ import type { DndIsDraggable, DndIsDroppable, DndOnDrop } from '../dnd/DndContai
|
|
|
8
8
|
type Props = {
|
|
9
9
|
dragAppendToContainer?: Element | undefined;
|
|
10
10
|
enableResizer?: boolean;
|
|
11
|
+
enableShowHideRefsOptions: boolean;
|
|
11
12
|
getExternalIcon: GetExternalIcon;
|
|
12
13
|
excludeRefsById: ExcludeRefsById;
|
|
13
14
|
headerContext?: GraphItemContext;
|
|
@@ -6,6 +6,7 @@ import type { TranslationFn } from '../../../domain/language/LanguageTypes';
|
|
|
6
6
|
import type { OnClick, OnMouseEnter, OnMouseLeave } from '../../../domain/ui/UiTypes';
|
|
7
7
|
type GraphHeaderProps = {
|
|
8
8
|
enableResizer?: boolean;
|
|
9
|
+
enableShowHideRefsOptions: boolean;
|
|
9
10
|
getExternalIcon: GetExternalIcon;
|
|
10
11
|
graphWidth: number;
|
|
11
12
|
graphHeight: number;
|
|
@@ -5,6 +5,7 @@ import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, GraphRef
|
|
|
5
5
|
import type { TranslationFn } from '../../../domain/language/LanguageTypes';
|
|
6
6
|
import type { OnClick, OnContextMenu, OnDoubleClick } from '../../../domain/ui/UiTypes';
|
|
7
7
|
type RefNodeProps = {
|
|
8
|
+
enableShowHideRefsOptions: boolean;
|
|
8
9
|
getExternalIcon: GetExternalIcon;
|
|
9
10
|
groupIsHovered: boolean;
|
|
10
11
|
hasActive: boolean;
|
|
@@ -7,6 +7,7 @@ type RefNodesProps = {
|
|
|
7
7
|
enabledRefMetadataTypes: RefMetadataType[];
|
|
8
8
|
column: number;
|
|
9
9
|
context: GraphItemContext | null;
|
|
10
|
+
enableShowHideRefsOptions: boolean;
|
|
10
11
|
getExternalIcon: GetExternalIcon;
|
|
11
12
|
getTargetRef: RefTargetFunc;
|
|
12
13
|
hasActive: boolean;
|
|
@@ -36,5 +37,5 @@ type RefNodesProps = {
|
|
|
36
37
|
translate: TranslationFn;
|
|
37
38
|
type: CommitType;
|
|
38
39
|
};
|
|
39
|
-
declare function RefNodes({ enabledRefMetadataTypes, column, context, getTargetRef, hasActive, hasRefs, getExternalIcon, includeOnlyRefsById, includeOnlyRemotesByName, isGhostRef, isHovered, isInUnsupportedRebase, numGraphColumns, onMissingRefMetadata, refGroupContexts, refGroupsByName, refMetadata, refNodeHovered, sha, showContextMenuForGroupedRef, onClickRef, onDoubleClickRef, onToggleRefNodesShown, onRefBeginDrag, onRefCanDrag, onRefCanDrop, onRefDragEnter, onRefDragLeave, onRefDrop, onRefEndDrag, translate, type, }: RefNodesProps): ReactElement<'span' | 'div'>;
|
|
40
|
+
declare function RefNodes({ enabledRefMetadataTypes, column, context, enableShowHideRefsOptions, getTargetRef, hasActive, hasRefs, getExternalIcon, includeOnlyRefsById, includeOnlyRemotesByName, isGhostRef, isHovered, isInUnsupportedRebase, numGraphColumns, onMissingRefMetadata, refGroupContexts, refGroupsByName, refMetadata, refNodeHovered, sha, showContextMenuForGroupedRef, onClickRef, onDoubleClickRef, onToggleRefNodesShown, onRefBeginDrag, onRefCanDrag, onRefCanDrop, onRefDragEnter, onRefDragLeave, onRefDrop, onRefEndDrag, translate, type, }: RefNodesProps): ReactElement<'span' | 'div'>;
|
|
40
41
|
export default RefNodes;
|