@devtron-labs/devtron-fe-common-lib 1.22.2-pre-1 → 1.22.2-pre-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.
- package/dist/{@code-editor-TN-3sVaR.js → @code-editor-HKkptS1b.js} +8272 -8182
- package/dist/{@common-rjsf-Bg-VjTOU.js → @common-rjsf-DlDBj-OU.js} +22 -22
- package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-BQTs5Wxy.js} +64 -64
- package/dist/{@react-dates-CbpfVsC0.js → @react-dates-P5PZUVj0.js} +1 -1
- package/dist/{@react-select-BuPEYnTv.js → @react-select-BbY7LVyg.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-vfWX2CbE.js} +1 -1
- package/dist/{@vendor-BsABdDGm.js → @vendor-Cdc4Z61e.js} +12712 -12070
- package/dist/Shared/Components/CICDHistory/LogStageHeader.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +14 -5
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
- package/dist/index.js +338 -337
- package/package.json +2 -1
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +0 -3
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LogStageHeaderProps } from './types';
|
|
2
|
+
declare const LogStageHeader: ({ stage, isOpen, status, startTime, endTime, targetPlatforms, stageIndex, fullScreenView, handleStageClose, handleStageOpen, logsRendererRef, applySticky, }: LogStageHeaderProps) => JSX.Element;
|
|
3
|
+
export default LogStageHeader;
|
|
@@ -686,16 +686,25 @@ export interface StageDetailType extends Pick<StageInfoDTO, 'stage' | 'startTime
|
|
|
686
686
|
isOpen: boolean;
|
|
687
687
|
targetPlatforms?: StageInfoDTO['metadata']['targetPlatforms'];
|
|
688
688
|
}
|
|
689
|
-
export
|
|
689
|
+
export type LogVirtualItem = {
|
|
690
|
+
type: 'header';
|
|
691
|
+
stageIndex: number;
|
|
692
|
+
} | {
|
|
693
|
+
type: 'log';
|
|
694
|
+
stageIndex: number;
|
|
695
|
+
logIndex: number;
|
|
696
|
+
};
|
|
697
|
+
export interface LogStageHeaderProps extends Omit<StageDetailType, 'logs'>, Pick<LogsRendererType, 'fullScreenView'> {
|
|
690
698
|
handleStageClose: (index: number) => void;
|
|
691
699
|
handleStageOpen: (index: number) => void;
|
|
692
700
|
stageIndex: number;
|
|
701
|
+
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
693
702
|
/**
|
|
694
|
-
*
|
|
703
|
+
* When false, the sticky CSS is not applied to the button.
|
|
704
|
+
* The virtual list wrapper div controls positioning instead.
|
|
705
|
+
* @default true
|
|
695
706
|
*/
|
|
696
|
-
|
|
697
|
-
searchIndex: string;
|
|
698
|
-
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
707
|
+
applySticky?: boolean;
|
|
699
708
|
}
|
|
700
709
|
export interface CreateMarkupReturnType {
|
|
701
710
|
__html: string;
|
|
@@ -41,3 +41,4 @@ export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusB
|
|
|
41
41
|
export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
|
|
42
42
|
export declare const getTriggerOutputTabs: (triggerDetails: History, deploymentAppType: DeploymentAppTypes) => TabGroupProps["tabs"];
|
|
43
43
|
export declare const getSortedTriggerHistory: (triggerHistory: Map<number, History>) => [number, History][];
|
|
44
|
+
export declare const findScrollableAncestor: (el: HTMLElement | null) => HTMLElement | null;
|