@gitkraken/gitkraken-components 10.7.0 → 11.0.0-vnext
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/dnd/DndContainer.d.ts +1 -1
- package/dist/components/graph/GraphContainer.d.ts +4 -22
- package/dist/components/graph/GraphScrollMarker.d.ts +1 -1
- package/dist/components/graph/commitzone/GraphAvatar.d.ts +2 -2
- package/dist/components/graph/common/DraggableGraphHeader.d.ts +4 -3
- package/dist/components/graph/refzone/CreateRefNode.d.ts +1 -2
- package/dist/components/graph/refzone/RefNodes.d.ts +4 -4
- package/dist/components/graph/refzone/RefPopover.d.ts +1 -1
- package/dist/components/graph/refzone/RefZone.d.ts +3 -4
- package/dist/components/resizable/Resizable.d.ts +2 -1
- package/dist/domain/graph/GraphTypes.d.ts +18 -0
- package/dist/index.d.ts +1 -9
- package/dist/index.js +2 -2
- package/dist/styles.css +2 -2
- package/dist/types.d.ts +15 -0
- package/dist/types.js +1 -0
- package/package.json +17 -14
|
@@ -27,7 +27,7 @@ declare class DndContainer extends React.PureComponent<DndContainerProps> {
|
|
|
27
27
|
childReactElementsById: ChildReactElementsById;
|
|
28
28
|
constructor(props: DndContainerProps);
|
|
29
29
|
componentDidMount(): void;
|
|
30
|
-
|
|
30
|
+
componentDidUpdate(nextProps: DndContainerProps): void;
|
|
31
31
|
componentWillUnmount(): void;
|
|
32
32
|
onDrop: DraggulaOnDrop;
|
|
33
33
|
isContainerCallback: DraggulaIsContainer;
|
|
@@ -6,30 +6,12 @@ import type { Sha } from '../../domain/commit/CommitTypes';
|
|
|
6
6
|
import type { CssVariables } from '../../domain/generic/GenericTypes';
|
|
7
7
|
import type { GraphCommitDescDisplayMode, GraphMarkerType, GraphSearchMode, 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,
|
|
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, GraphRow, GraphZoneModeConstants, GraphZonesByType, Head, HighlightedShas, IncludeOnlyRefsById, IncludeOnlyRemotesByName, IsRefShorthandValid, IsSelectedBySha, NodeOffsetByColumn, NodeOpacityByColumn, OnClearCurrentlyHoveredGraphCommit, OnClickCommit, OnClickGraphRef, OnClickGraphRow, OnClickRef, OnCommitContextMenu, OnCommitMessageChange, OnCurrentlyHoveredGraphCommit, OnDoubleClickCommit, OnDoubleClickGraphRef, OnDoubleClickGraphRow, OnDoubleClickRef, OnEmailsMissingAvatarUrls, OnFilterColumnClick, OnFormatCommitDateTime, OnGraphColumnReOrdered, OnGraphColumnResized, OnGraphColumnsReOrdered, OnGraphMouseEnter, OnGraphMouseLeave, OnGraphRefNodeHovered, OnGraphRefNodeUnhovered, OnGraphResized, OnGraphRowHovered, OnGraphRowUnhovered, OnGraphScrollForZone, OnGraphVisibleRowsChanged, OnGraphZoneResize, OnGraphZoneResizeEnd, OnLoadSelectedGraphRow, OnPopupGraphHeaderContextMenu, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefContextMenu, OnRefCreate, OnRefCreateCancel, OnRefCreateContextMenu, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefNodeUnhovered, OnRefShorthandChange, OnRefsMissingMetadata, OnRefZoneContextMenu, OnRefZoneHovered, OnRefZoneUnhovered, OnRowContextMenu, OnScrollForZone, OnSelectGraphRows, OnSettingsClick, OnShowMoreCommits, OnToggleRefNodesShown, OnToggleRefsVisibilityClick, OnWipMessageBlur, OnWipMessageFocus, ProcessedGraphRow, ProcessedGraphRowBySha, RefMetadataById, 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';
|
|
13
13
|
import type { WorkDirStats } from '../../domain/workdir/WorkDirTypes';
|
|
14
14
|
import type { IGraphContainer } from './IGraphContainer';
|
|
15
|
-
type OnClickGraphRow = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
16
|
-
type OnDoubleClickGraphRow = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
17
|
-
type OnClickGraphRef = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow, metadataItem?: RefMetadataItem) => void;
|
|
18
|
-
type OnDoubleClickGraphRef = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow, metadataItem?: RefMetadataItem) => void;
|
|
19
|
-
type OnRowContextMenu = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
20
|
-
type OnRefContextMenu = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
21
|
-
type OnToggleRefsVisibilityClick = (event: React.MouseEvent<any>, refs: GraphRefOptData[], visible: boolean, graphRow?: GraphRow) => void;
|
|
22
|
-
type OnSelectGraphRows = (selectedRows: GraphRow[]) => void;
|
|
23
|
-
type OnGraphRowHovered = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
24
|
-
type OnGraphRowUnhovered = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
25
|
-
type OnGraphRefNodeHovered = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
26
|
-
type OnGraphScrollForZone = (graphZoneType: GraphZoneType, scroll: ScrollParams) => void;
|
|
27
|
-
type OnGraphRefNodeUnhovered = (event: React.MouseEvent<any> | React.FocusEvent<any> | null, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
28
|
-
type OnGraphColumnsReOrdered = (columnsSettings: GraphColumnsSettings) => void;
|
|
29
|
-
type OnGraphColumnResized = (graphZoneType: GraphZoneType, columnSettings: GraphColumnSetting) => void;
|
|
30
|
-
type OnShowMoreCommits = () => void;
|
|
31
|
-
type OnEmailsMissingAvatarUrls = (emails: AvatarUrlByEmail) => void;
|
|
32
|
-
type OnRefsMissingMetadata = (refs: RefsMissingMetadata) => void;
|
|
33
15
|
type ClearScrollToIndex = () => void;
|
|
34
16
|
type OnZoneEnter = (e: React.MouseEvent<any>, zoneType: GraphZoneType, hoveredRefGroup?: GraphRefGroup, hoveredSha?: Sha) => void;
|
|
35
17
|
type OnGraphContainerBlurred = (event: React.FocusEvent<any>, hoveredRefGroup?: GraphRefGroup, hoveredSha?: Sha) => void;
|
|
@@ -237,7 +219,7 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
|
|
|
237
219
|
timelinesInterval?: NodeJS.Timeout;
|
|
238
220
|
constructor(props: Props);
|
|
239
221
|
componentDidMount(): void;
|
|
240
|
-
|
|
222
|
+
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
241
223
|
componentWillUnmount(): void;
|
|
242
224
|
focus(): void;
|
|
243
225
|
getRefIconsPositionOrDefault(refIconsPosition?: RefIconsPosition | null): RefIconsPosition;
|
|
@@ -385,7 +367,7 @@ declare class GraphContainer extends React.Component<Props, ComponentState> impl
|
|
|
385
367
|
isMacOSPlatform(): boolean;
|
|
386
368
|
isCommitListFiltered(): boolean;
|
|
387
369
|
getGraphColumnSettingFromZoneType(graphZone: GraphZone): GraphColumnSetting;
|
|
388
|
-
decorateWithHelmet: (container: ReactElement<'div'>, cssVariables: CssVariables, nonce?: string) =>
|
|
389
|
-
render():
|
|
370
|
+
decorateWithHelmet: (container: ReactElement<'div'>, cssVariables: CssVariables, nonce?: string) => React.JSX.Element;
|
|
371
|
+
render(): React.JSX.Element;
|
|
390
372
|
}
|
|
391
373
|
export default GraphContainer;
|
|
@@ -15,7 +15,7 @@ interface Props {
|
|
|
15
15
|
export default class ScrollMarker extends React.PureComponent<Props> {
|
|
16
16
|
canvas: HTMLCanvasElement | null;
|
|
17
17
|
componentDidMount(): void;
|
|
18
|
-
|
|
18
|
+
componentDidUpdate(nextProps: Props): void;
|
|
19
19
|
updateCanvas(nextProps?: Props): void;
|
|
20
20
|
render(): ReactElement<'canvas'>;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement, RefCallback } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import type { OverlayTriggerProps } from 'react-bootstrap';
|
|
4
4
|
import type { CssVariables, Style } from '../../../domain/generic/GenericTypes';
|
|
5
5
|
import type { GraphItemContext } from '../../../domain/graph/GraphTypes';
|
|
6
6
|
import type { ComponentTooltip } from '../../../domain/ui/UiTypes';
|
|
@@ -25,7 +25,7 @@ type Props = {
|
|
|
25
25
|
type AvatarState = {
|
|
26
26
|
tooltipText?: string;
|
|
27
27
|
};
|
|
28
|
-
interface OverlayTriggerExt extends
|
|
28
|
+
interface OverlayTriggerExt extends React.FC<OverlayTriggerProps> {
|
|
29
29
|
show(): void;
|
|
30
30
|
}
|
|
31
31
|
export default class GraphAvatar extends React.Component<Props, AvatarState> {
|
|
@@ -3,7 +3,7 @@ import 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';
|
|
6
|
-
import type {
|
|
6
|
+
import type { OnMouseEnter, OnMouseLeave } from '../../../domain/ui/UiTypes';
|
|
7
7
|
type GraphHeaderProps = {
|
|
8
8
|
columnSetting?: GraphColumnSetting;
|
|
9
9
|
enableResizer?: boolean;
|
|
@@ -35,12 +35,13 @@ type GraphHeaderProps = {
|
|
|
35
35
|
};
|
|
36
36
|
type GraphHeaderState = {
|
|
37
37
|
showPopoverMenu: boolean;
|
|
38
|
-
refPopoverMenuTarget: React.ReactInstance | undefined;
|
|
39
38
|
};
|
|
40
39
|
declare class GraphHeader extends React.Component<GraphHeaderProps, GraphHeaderState> {
|
|
41
40
|
private headIconsRef;
|
|
41
|
+
private containerRef;
|
|
42
|
+
private popoverMenuTargetRef;
|
|
42
43
|
constructor(props: GraphHeaderProps);
|
|
43
|
-
onHiddenRefsClick:
|
|
44
|
+
onHiddenRefsClick: () => void;
|
|
44
45
|
onShowRefNodes: OnToggleRefNodesShown;
|
|
45
46
|
compareGraphRefOpts(a: GraphRefOptData, b: GraphRefOptData): number;
|
|
46
47
|
render(): ReactElement<any> | null;
|
|
@@ -27,5 +27,4 @@ declare class CreateRefNode extends React.PureComponent<CreateRefNodeProps, Crea
|
|
|
27
27
|
onInputChange(shorthand?: RefShorthand): void;
|
|
28
28
|
render(): ReactElement<'div'>;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
export default _default;
|
|
30
|
+
export default CreateRefNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
1
|
+
import type { ReactElement, RefObject } from 'react';
|
|
2
2
|
import type { CommitType, Sha } from '../../../domain/commit/CommitTypes';
|
|
3
|
-
import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, IncludeOnlyRefsById, IncludeOnlyRemotesByName, OnClickRef, OnDoubleClickRef, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefZoneContextMenu, OnToggleRefNodesShown, GraphRefGroup as RefGroup, RefGroupContexts, RefMetadataById, RefMetadataType
|
|
3
|
+
import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, IncludeOnlyRefsById, IncludeOnlyRemotesByName, OnClickRef, OnDoubleClickRef, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefZoneContextMenu, OnToggleRefNodesShown, GraphRefGroup as RefGroup, RefGroupContexts, RefMetadataById, RefMetadataType } from '../../../domain/graph/GraphTypes';
|
|
4
4
|
import type { TranslationFn } from '../../../domain/language/LanguageTypes';
|
|
5
5
|
import type { RefIconsPosition } from '../../../domain/ref/RefTypes';
|
|
6
6
|
type RefNodesProps = {
|
|
@@ -11,7 +11,7 @@ type RefNodesProps = {
|
|
|
11
11
|
context: GraphItemContext | null;
|
|
12
12
|
enableShowHideRefsOptions: boolean;
|
|
13
13
|
getExternalIcon: GetExternalIcon;
|
|
14
|
-
|
|
14
|
+
targetRef: RefObject<HTMLDivElement>;
|
|
15
15
|
hasActive: boolean;
|
|
16
16
|
hasRefs: boolean;
|
|
17
17
|
includeOnlyRefsById: IncludeOnlyRefsById;
|
|
@@ -42,5 +42,5 @@ type RefNodesProps = {
|
|
|
42
42
|
type: CommitType;
|
|
43
43
|
useColumnHeaderIcons: boolean;
|
|
44
44
|
};
|
|
45
|
-
declare function RefNodes({ enabledRefMetadataTypes, column, columnForColoring, context, enableShowHideRefsOptions,
|
|
45
|
+
declare function RefNodes({ enabledRefMetadataTypes, column, columnForColoring, context, enableShowHideRefsOptions, targetRef, hasActive, hasRefs, getExternalIcon, includeOnlyRefsById, includeOnlyRemotesByName, isGhostRef, isHovered, isInUnsupportedRebase, numGraphColumns, onMissingRefMetadata, refGroupContexts, refGroupsByName, refIconsPosition, refMetadata, refNodeHovered, sha, showRemoteNamesOnRefs, showContextMenuForGroupedRef, onClickRef, onDoubleClickRef, onToggleRefNodesShown, onRefBeginDrag, onRefCanDrag, onRefCanDrop, onRefDragEnter, onRefDragLeave, onRefDrop, onRefEndDrag, translate, type, useColumnHeaderIcons, }: RefNodesProps): ReactElement<'span' | 'div'>;
|
|
46
46
|
export default RefNodes;
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
onMouseLeave?: OnMouseLeave;
|
|
12
12
|
style?: RefPopoverStyle;
|
|
13
13
|
};
|
|
14
|
-
declare function RefPopover({ style, children, column, numGraphColumns, onMouseEnter, onMouseLeave, }: Props): ReactElement<'div'>;
|
|
14
|
+
declare function RefPopover({ style, children, column, numGraphColumns, onMouseEnter, onMouseLeave, ...props }: Props): ReactElement<'div'>;
|
|
15
15
|
export default RefPopover;
|
|
@@ -2,7 +2,7 @@ import type { ReactElement } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { CommitType, Sha } from '../../../domain/commit/CommitTypes';
|
|
4
4
|
import type { Style } from '../../../domain/generic/GenericTypes';
|
|
5
|
-
import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, GraphRefGroup, IncludeOnlyRefsById, IncludeOnlyRemotesByName, OnClickRef, OnDoubleClickRef, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefNodeUnhovered, OnRefZoneContextMenu, OnRefZoneHovered, OnRefZoneUnhovered, OnToggleRefNodesShown, RefGroupContexts, RefMetadataById, RefMetadataType
|
|
5
|
+
import type { GetExternalIcon, GetMissingRefMetadata, GraphItemContext, GraphRefGroup, IncludeOnlyRefsById, IncludeOnlyRemotesByName, OnClickRef, OnDoubleClickRef, OnRefBeginDrag, OnRefCanDrag, OnRefCanDrop, OnRefDragEnter, OnRefDragLeave, OnRefDrop, OnRefEndDrag, OnRefNodeHovered, OnRefNodeUnhovered, OnRefZoneContextMenu, OnRefZoneHovered, OnRefZoneUnhovered, OnToggleRefNodesShown, RefGroupContexts, RefMetadataById, RefMetadataType } from '../../../domain/graph/GraphTypes';
|
|
6
6
|
import type { TranslationFn } from '../../../domain/language/LanguageTypes';
|
|
7
7
|
import type { RefIconsPosition } from '../../../domain/ref/RefTypes';
|
|
8
8
|
type RefZoneDefaultProps = {
|
|
@@ -57,10 +57,9 @@ type RefZoneProps = {
|
|
|
57
57
|
width: number;
|
|
58
58
|
};
|
|
59
59
|
export default class RefZone extends React.PureComponent<RefZoneProps> {
|
|
60
|
-
|
|
60
|
+
popoverTargetRef: React.RefObject<HTMLDivElement>;
|
|
61
61
|
static defaultProps: RefZoneDefaultProps;
|
|
62
|
-
|
|
63
|
-
getRefPopoverTarget: RefTargetFunc;
|
|
62
|
+
componentDidUpdate(nextProps: RefZoneProps): void;
|
|
64
63
|
onCustomToggleRefNodesShown: OnToggleRefNodesShown;
|
|
65
64
|
render(): ReactElement<any>;
|
|
66
65
|
}
|
|
@@ -68,7 +68,8 @@ export default class Resizable extends React.PureComponent<Props, State> {
|
|
|
68
68
|
onWheelTimeOut?: NodeJS.Timeout;
|
|
69
69
|
isMouseWheeling: boolean;
|
|
70
70
|
constructor(props: Props);
|
|
71
|
-
|
|
71
|
+
static getDerivedStateFromProps(props: Props, state: State): State;
|
|
72
|
+
componentDidUpdate(nextProps: Props): void;
|
|
72
73
|
_onResize: ResizeCallback;
|
|
73
74
|
_onResizeStart: ResizeStartCallback;
|
|
74
75
|
_onResizeEnd: ResizeCallback;
|
|
@@ -455,3 +455,21 @@ export type OnRefCreate = (shorthand: RefShorthand, sha: Sha, refType: GraphRefT
|
|
|
455
455
|
export type OnRefCreateCancel = (shorthand: RefShorthand, sha: Sha, refType: GraphRefType, data?: any | null) => void;
|
|
456
456
|
export type OnRefCreateContextMenu = (event: React.MouseEvent<any>, shorthand: RefShorthand, sha: Sha, refType: GraphRefType, data?: any | null) => void;
|
|
457
457
|
export type OnRefShorthandChange = (shorthand: RefShorthand) => void;
|
|
458
|
+
export type OnClickGraphRow = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
459
|
+
export type OnDoubleClickGraphRow = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
460
|
+
export type OnClickGraphRef = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow, metadataItem?: RefMetadataItem) => void;
|
|
461
|
+
export type OnDoubleClickGraphRef = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow, metadataItem?: RefMetadataItem) => void;
|
|
462
|
+
export type OnRowContextMenu = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
463
|
+
export type OnRefContextMenu = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
464
|
+
export type OnToggleRefsVisibilityClick = (event: React.MouseEvent<any>, refs: GraphRefOptData[], visible: boolean, graphRow?: GraphRow) => void;
|
|
465
|
+
export type OnSelectGraphRows = (selectedRows: GraphRow[]) => void;
|
|
466
|
+
export type OnGraphRowHovered = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
467
|
+
export type OnGraphRowUnhovered = (event: React.MouseEvent<any>, graphZoneType: GraphZoneType, graphRow: GraphRow) => void;
|
|
468
|
+
export type OnGraphRefNodeHovered = (event: React.MouseEvent<any>, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
469
|
+
export type OnGraphScrollForZone = (graphZoneType: GraphZoneType, scroll: ScrollParams) => void;
|
|
470
|
+
export type OnGraphRefNodeUnhovered = (event: React.MouseEvent<any> | React.FocusEvent<any> | null, refGroup: GraphRefGroup, graphRow: GraphRow) => void;
|
|
471
|
+
export type OnGraphColumnsReOrdered = (columnsSettings: GraphColumnsSettings) => void;
|
|
472
|
+
export type OnGraphColumnResized = (graphZoneType: GraphZoneType, columnSettings: GraphColumnSetting) => void;
|
|
473
|
+
export type OnShowMoreCommits = () => void;
|
|
474
|
+
export type OnEmailsMissingAvatarUrls = (emails: AvatarUrlByEmail) => void;
|
|
475
|
+
export type OnRefsMissingMetadata = (refs: RefsMissingMetadata) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,6 @@ import ScrollbarContainer from './components/graph/common/ScrollbarContainer';
|
|
|
3
3
|
import GraphContainer from './components/graph/GraphContainer';
|
|
4
4
|
export * from './components/graph/GraphContainer';
|
|
5
5
|
export * from './components/dnd/DndComponent';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './domain/generic/GenericTypes';
|
|
8
|
-
export * from './domain/commit/CommitTypes';
|
|
9
|
-
export * from './domain/graph/GraphConstants';
|
|
10
|
-
export * from './domain/graph/GraphTypes';
|
|
11
|
-
export * from './domain/hostingservice/HostingServiceTypes';
|
|
12
|
-
export * from './domain/ref/RefConstants';
|
|
13
|
-
export * from './domain/ref/RefTypes';
|
|
14
|
-
export * from './domain/workdir/WorkDirTypes';
|
|
6
|
+
export * from './types';
|
|
15
7
|
export { DndComponent, ScrollbarContainer };
|
|
16
8
|
export default GraphContainer;
|