@gitkraken/gitkraken-components 6.0.3 → 7.1.0
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/LICENSE +1 -1
- package/ThirdPartyNotices.txt +227 -0
- package/dist/components/graph/GraphColumn.d.ts +38 -0
- package/dist/components/graph/GraphContainer.d.ts +297 -329
- package/dist/components/graph/GraphHeaderRow.d.ts +36 -0
- package/dist/components/graph/GraphScrollMarker.d.ts +22 -0
- package/dist/components/graph/changeszone/ChangesBar.d.ts +11 -0
- package/dist/components/graph/commitzone/BackgroundStreak.d.ts +12 -0
- package/dist/components/graph/commitzone/CommitNode.d.ts +24 -0
- package/dist/components/graph/commitzone/CommitZone.d.ts +48 -0
- package/dist/components/graph/commitzone/GraphAvatar.d.ts +39 -0
- package/dist/components/graph/commitzone/Gutter.d.ts +22 -0
- package/dist/components/graph/commitzone/edges/Arc.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/EdgeNodes.d.ts +3 -0
- package/dist/components/graph/commitzone/edges/Edges.d.ts +13 -0
- package/dist/components/graph/commitzone/edges/EndingEdge.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/PassThroughEdge.d.ts +4 -0
- package/dist/components/graph/commitzone/edges/StartingEdge.d.ts +4 -0
- package/dist/components/graph/common/DraggableGraphHeader.d.ts +42 -0
- package/dist/components/graph/common/EntireRowSpan.d.ts +15 -0
- package/dist/components/graph/common/GenericGraphZone.d.ts +46 -0
- package/dist/components/graph/common/LoadingSpinner.d.ts +11 -0
- package/dist/components/graph/common/RefLine.d.ts +17 -0
- package/dist/components/graph/common/Timeline.d.ts +6 -0
- package/dist/components/graph/dnd/DndContainer.d.ts +44 -0
- package/dist/components/graph/refzone/Icon.d.ts +39 -0
- package/dist/components/graph/refzone/OverflowCount.d.ts +7 -0
- package/dist/components/graph/refzone/RefName.d.ts +6 -0
- package/dist/components/graph/refzone/RefNode.d.ts +36 -0
- package/dist/components/graph/refzone/RefNodes.d.ts +31 -0
- package/dist/components/graph/refzone/RefPopover.d.ts +15 -0
- package/dist/components/graph/refzone/RefZone.d.ts +54 -0
- package/dist/components/graph/rowRenderers/ChangesZoneRow.d.ts +8 -0
- package/dist/components/graph/rowRenderers/CommitAuthorZoneRow.d.ts +7 -0
- package/dist/components/graph/rowRenderers/CommitDateTimeZoneRow.d.ts +10 -0
- package/dist/components/graph/rowRenderers/CommitMessageZoneRow.d.ts +20 -0
- package/dist/components/graph/rowRenderers/CommitShaZoneRow.d.ts +10 -0
- package/dist/components/graph/rowRenderers/CommitZoneRow.d.ts +19 -0
- package/dist/components/graph/rowRenderers/CommitsInfoRow.d.ts +25 -0
- package/dist/components/graph/rowRenderers/RefZoneRow.d.ts +29 -0
- package/dist/components/graph/rowRenderers/TimelineMsgRow.d.ts +7 -0
- package/dist/components/graph/shared/Avatar.d.ts +13 -0
- package/dist/components/graph/shared/FileDiffTypeIcon.d.ts +13 -0
- package/dist/components/graph/shared/InlineWorkDirSummary.d.ts +12 -0
- package/dist/components/graph/shared/TinyFilesReadout.d.ts +13 -0
- package/dist/components/resizable/Resizable.d.ts +78 -0
- package/dist/domain/color/ColorHelpers.d.ts +22 -0
- package/dist/domain/commit/CommitConstants.d.ts +10 -0
- package/dist/domain/commit/CommitHelpers.d.ts +5 -0
- package/dist/domain/commit/CommitTypes.d.ts +9 -0
- package/dist/domain/cssvariable/CssVariableConstants.d.ts +259 -0
- package/dist/domain/cssvariable/CssVariableHelpers.d.ts +4 -0
- package/dist/domain/date/DateHelper.d.ts +7 -0
- package/dist/domain/diff/DiffConstants.d.ts +5 -0
- package/dist/domain/diff/DiffTypes.d.ts +9 -0
- package/dist/domain/edge/EdgeHelpers.d.ts +9 -0
- package/dist/domain/generic/GenericTypes.d.ts +34 -0
- package/dist/domain/graph/GraphConstants.d.ts +146 -0
- package/dist/domain/graph/GraphHelpers.d.ts +71 -0
- package/dist/domain/graph/GraphTypes.d.ts +370 -0
- package/dist/domain/hostingservice/HostingServiceTypes.d.ts +9 -0
- package/dist/domain/language/LanguageConstants.d.ts +3 -0
- package/dist/domain/language/LanguageHelpers.d.ts +1 -0
- package/dist/domain/language/LanguageTypes.d.ts +1 -0
- package/dist/domain/reactvirtualized/ReactVirtualizedHelpers.d.ts +11 -0
- package/dist/domain/ref/RefConstants.d.ts +5 -0
- package/dist/domain/ref/RefTypes.d.ts +2 -0
- package/dist/domain/ui/UiTypes.d.ts +28 -0
- package/dist/domain/workdir/WorkDirTypes.d.ts +7 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/styles.css +2 -1
- package/dist/utils/MathUtils.d.ts +1 -0
- package/dist/utils/TextFormatting.d.ts +2 -0
- package/package.json +86 -82
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { GridCellRangeRenderer } from 'react-virtualized';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
export type GetRealKeyForCellFunc = (rowIndex: number, columnIndex?: number) => string;
|
|
4
|
+
export type CustomCellCacheValue = {
|
|
5
|
+
realKeyForCell: string;
|
|
6
|
+
cell?: ReactElement<any>;
|
|
7
|
+
};
|
|
8
|
+
export type CustomCellCache = {
|
|
9
|
+
[key: string]: CustomCellCacheValue;
|
|
10
|
+
};
|
|
11
|
+
export declare const makeSmartCellRangeRenderer: (getRealKeyForCell: GetRealKeyForCellFunc) => GridCellRangeRenderer;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
export type ChildrenElements = string | ReactElement<any> | null;
|
|
3
|
+
export interface OnResizeParams {
|
|
4
|
+
height?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface OnResizeFromPropChangeParams extends OnResizeParams {
|
|
8
|
+
originalHeight?: number;
|
|
9
|
+
originalWidth?: number;
|
|
10
|
+
}
|
|
11
|
+
export type ComponentTooltip = string | (() => string);
|
|
12
|
+
export type OnContextMenu = (event: React.MouseEvent<any>) => void;
|
|
13
|
+
export type OnMouseEnter = (event: React.MouseEvent<any>) => void;
|
|
14
|
+
export type OnMouseLeave = (event: React.MouseEvent<any>) => void;
|
|
15
|
+
export type OnMouseDown = (event: React.MouseEvent<any>) => void;
|
|
16
|
+
export type OnWheel = (event: React.MouseEvent<any>) => void;
|
|
17
|
+
export type OnClick = (event: React.MouseEvent<any>) => void;
|
|
18
|
+
export type OnDoubleClick = (event: React.MouseEvent<any>) => void;
|
|
19
|
+
export type OnBlur = (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
export type OnFocus = (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
21
|
+
export type OnKeyDown = (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
22
|
+
export type OnKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
23
|
+
export type OnKeyUp = (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
24
|
+
export type OnComponentWillUnmount = () => void;
|
|
25
|
+
export type OnResize = (dimensions: OnResizeParams) => void;
|
|
26
|
+
export type OnResizeEnd = (dimensions: OnResizeParams) => void;
|
|
27
|
+
export type OnResizeFromPropChange = (dimensions: OnResizeFromPropChangeParams) => void;
|
|
28
|
+
export type OnResizeStart = (dimensions: OnResizeParams) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import GraphContainer from './components/graph/GraphContainer';
|
|
2
2
|
export * from './components/graph/GraphContainer';
|
|
3
3
|
export * from './domain/commit/CommitConstants';
|
|
4
|
-
|
|
5
|
-
export
|
|
4
|
+
export * from './domain/generic/GenericTypes';
|
|
5
|
+
export * from './domain/commit/CommitTypes';
|
|
6
|
+
export * from './domain/graph/GraphConstants';
|
|
7
|
+
export * from './domain/graph/GraphTypes';
|
|
8
|
+
export * from './domain/hostingservice/HostingServiceTypes';
|
|
9
|
+
export * from './domain/ref/RefTypes';
|
|
10
|
+
export * from './domain/workdir/WorkDirTypes';
|
|
11
|
+
export default GraphContainer;
|