@gitkraken/gitkraken-components 8.1.0 → 8.1.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CommitType } from '../../../../domain/commit/CommitTypes';
|
|
2
2
|
import type { ArcEndpointAngle, ColumnColor, SvgElement } from '../../../../domain/graph/GraphTypes';
|
|
3
|
-
declare function getArc(color: ColumnColor, endAngle: ArcEndpointAngle, startAngle: ArcEndpointAngle, type: CommitType, x: number, y: number, strokeWidth: number): SvgElement;
|
|
3
|
+
declare function getArc(color: ColumnColor, endAngle: ArcEndpointAngle, startAngle: ArcEndpointAngle, type: CommitType, x: number, y: number, strokeWidth: number, isCompact?: boolean): SvgElement;
|
|
4
4
|
export default getArc;
|
|
@@ -4,7 +4,7 @@ export declare function getXValueAtColumn(column: number, columnWidth: number, g
|
|
|
4
4
|
export declare function clearXValueAtColumnCache(): void;
|
|
5
5
|
export declare function getSvgElement(element: SvgElementName, props: SvgProps): SvgElement;
|
|
6
6
|
export declare function getLineElement(props: LineSvgProps): SvgElement;
|
|
7
|
-
export declare function getSvgStyles(type: CommitType, color: ColumnColor, strokeWidth: number): SvgStyles;
|
|
7
|
+
export declare function getSvgStyles(type: CommitType, color: ColumnColor, strokeWidth: number, isCompact?: boolean): SvgStyles;
|
|
8
8
|
export declare function buildStartingOrEndingEdgeHash(edgeColumn: number, nodeColumn: number, type: CommitType | undefined, isCompact?: boolean): string;
|
|
9
9
|
export declare function buildPassThroughEdgeHash(column: number, type: CommitType | undefined, isCompact?: boolean): string;
|
|
10
10
|
export declare function buildEdgeHash(edges: RowEdges, edgeColumnMax: number, nodeColumn: number, isCompact?: boolean): string;
|