@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.
@@ -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;
@@ -10,6 +10,7 @@ type RefZoneDefaultProps = {
10
10
  type RefZoneProps = {
11
11
  column: number;
12
12
  context: GraphItemContext | null;
13
+ enableShowHideRefsOptions: boolean;
13
14
  showGhostRefsOnRowHover: boolean;
14
15
  getExternalIcon: GetExternalIcon;
15
16
  hasActive: boolean;
@@ -8,6 +8,7 @@ interface OwnProps {
8
8
  includeOnlyRemotesByName: IncludeOnlyRemotesByName;
9
9
  }
10
10
  interface StateProps {
11
+ enableShowHideRefsOptions: boolean;
11
12
  isInUnsupportedRebase: boolean;
12
13
  hoveredRefZoneSha?: Sha;
13
14
  refMetadataById?: RefMetadataById | null;