@gitkraken/gitkraken-components 8.1.0 → 8.1.2
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;
|
|
@@ -19,8 +19,13 @@ export declare const TIMESTAMP_FORMAT_DATE_TIME = "short+short";
|
|
|
19
19
|
export declare const COMMIT_SHA_ZONE_MIN_WIDTH = 50;
|
|
20
20
|
export declare const COMMIT_MESSAGE_ZONE_MIN_WIDTH = 50;
|
|
21
21
|
export declare const REF_ZONE_TEXT_HEIGHT = 18;
|
|
22
|
-
export declare const REF_ZONE_MIN_WIDTH =
|
|
22
|
+
export declare const REF_ZONE_MIN_WIDTH = 32;
|
|
23
23
|
export declare const REF_ZONE_MARGIN_LEFT = 2;
|
|
24
|
+
export declare const REF_ZONE_MARGIN_RIGHT = 6;
|
|
25
|
+
export declare const REF_NODE_ICON_WIDTH = 14;
|
|
26
|
+
export declare const REF_NODE_ICON_MARGIN = 5;
|
|
27
|
+
export declare const REF_NODE_ICON_SPACING: number;
|
|
28
|
+
export declare const REF_NODE_OUTER_SPACING = 10;
|
|
24
29
|
export declare const CHANGES_ZONE_MIN_WIDTH = 50;
|
|
25
30
|
export declare const CHANGES_BAR_MIN_WIDTH = 10;
|
|
26
31
|
export declare const CHANGES_BAR_RIGHT_MARGIN = 15;
|