@gitkraken/gitkraken-components 9.1.2 → 9.1.4

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.
@@ -259,6 +259,7 @@ declare class GraphContainer extends React.PureComponent<Props, ComponentState>
259
259
  updateMarkerRowIndices(types: GraphMarkerType[]): void;
260
260
  getMarkerColors(): GraphMarkerColors;
261
261
  initializeGraphZones(zoneSettings: GraphColumnsSettings | undefined, zoneOrdering: GraphZoneType[], width: number): GraphZone[];
262
+ maybeSortGraphZoneOrderingFromSettings(zoneSettings?: GraphColumnsSettings): void;
262
263
  updateZonesFromSettings(zoneSettings?: GraphColumnsSettings): void;
263
264
  getEdgeColumnMaxes(sha: Sha): number;
264
265
  getEndingAndPassThroughEdgesByColumnFromPrevRow(graphRow: ProcessedGraphRow, prevRowEdges: RowEdges): RowEdges;
@@ -13,13 +13,18 @@ export declare const COMMIT_ZONE_ROW_INNER_HEIGHT = 22;
13
13
  export declare const COMMIT_ZONE_EDGE_ARC_PADDING = 3;
14
14
  export declare const COMMIT_ZONE_EDGE_ARC_RADIUS: number;
15
15
  export declare const COMMIT_ZONE_DEFAULT_VIEWPORT_WIDTH_MIN = 56;
16
+ export declare const COMMIT_ZONE_SHOW_ICON_WIDTH = 56;
16
17
  export declare const COMMIT_AUTHOR_ZONE_MIN_WIDTH = 32;
17
18
  export declare const COMMIT_AUTHOR_ZONE_AVATAR_OUTER_DIAMETER = 22;
18
19
  export declare const COMMIT_AUTHOR_ZONE_AVATAR_INNER_DIAMETER: number;
20
+ export declare const COMMIT_AUTHOR_ZONE_SHOW_ICON_WIDTH = 55;
19
21
  export declare const COMMIT_DATE_TIME_ZONE_MIN_WIDTH = 50;
20
22
  export declare const TIMESTAMP_FORMAT_DATE_TIME = "short+short";
23
+ export declare const COMMIT_DATE_TIME_ZONE_SHOW_ICON_WIDTH = 55;
21
24
  export declare const COMMIT_SHA_ZONE_MIN_WIDTH = 50;
25
+ export declare const COMMIT_SHA_ZONE_SHOW_ICON_WIDTH = 50;
22
26
  export declare const COMMIT_MESSAGE_ZONE_MIN_WIDTH = 50;
27
+ export declare const COMMIT_MESSAGE_ZONE_SHOW_ICON_WIDTH = 55;
23
28
  export declare const REF_ZONE_TEXT_HEIGHT = 18;
24
29
  export declare const REF_ZONE_MIN_WIDTH = 32;
25
30
  export declare const REF_ZONE_MARGIN_LEFT = 2;
@@ -28,9 +33,11 @@ export declare const REF_NODE_ICON_WIDTH = 14;
28
33
  export declare const REF_NODE_ICON_MARGIN = 5;
29
34
  export declare const REF_NODE_ICON_SPACING: number;
30
35
  export declare const REF_NODE_OUTER_SPACING = 10;
36
+ export declare const REF_ZONE_SHOW_ICON_WIDTH = 55;
31
37
  export declare const CHANGES_ZONE_MIN_WIDTH = 50;
32
38
  export declare const CHANGES_BAR_MIN_WIDTH = 10;
33
39
  export declare const CHANGES_BAR_RIGHT_MARGIN = 15;
40
+ export declare const CHANGES_ZONE_SHOW_ICON_WIDTH = 58;
34
41
  export declare const HEADER_ROW_HEIGHT = 22;
35
42
  export declare const HEADER_ROW_MARGIN_BOTTOM = 2;
36
43
  export declare const OPACITY_FACTOR_BY_THEME: {
@@ -110,6 +117,7 @@ export interface GraphZoneMetaData {
110
117
  listId: string;
111
118
  maximumWidth?: number;
112
119
  minimumWidth: number;
120
+ showIconWidth: number;
113
121
  }
114
122
  export interface GraphZone extends GraphZoneMetaData {
115
123
  currentWidth: number;
@@ -333,6 +333,7 @@ export type GraphZoneModeConstants = {
333
333
  COMMIT_MERGE_NODE_TOP_OFFSET: number;
334
334
  COMMIT_ZONE_AVATAR_DIAMETER: number;
335
335
  COMMIT_ZONE_VIEWPORT_WIDTH_MIN: number;
336
+ COMMIT_ZONE_SHOW_ICON_WIDTH: number;
336
337
  IS_COMPACT: boolean;
337
338
  RADIUS_DIFF_MERGE_NODE_COMMIT_NODE: number;
338
339
  };