@devtron-labs/devtron-fe-common-lib 4.0.3 → 4.0.4-pre-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/dist/{@code-editor-BAM7bZOw.js → @code-editor-C5mFxjZd.js} +4 -8
- package/dist/{@common-rjsf-Bx2aOoF1.js → @common-rjsf-B6hREt7b.js} +1 -1
- package/dist/{@framer-motion-CJHeDr_5.js → @framer-motion-BJCpbDxZ.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Cru7sOnT.js → @react-virtualized-sticky-tree-FGOpqK9S.js} +2 -2
- package/dist/{@src-assets-images-B2NAtpLS.js → @src-assets-images-KQMIFNVm.js} +1 -1
- package/dist/{@vendor-M2R6W7KJ.js → @vendor-DkID-52Z.js} +9805 -9287
- package/dist/MMQ4R4NB-D7utn_uE.js +2 -0
- 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/V4HPSUGU-B6cUYmCq.js +2 -0
- package/dist/index.js +3278 -3178
- package/dist/javascript-8QK9APZo.js +2 -0
- package/dist/vitesse-dark-DWmIFVEf.js +2 -0
- package/dist/vitesse-light-DAVCSGB3.js +2 -0
- package/package.json +2 -1
- package/dist/MMQ4R4NB-C7ZzhIbi.js +0 -2
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +0 -3
- package/dist/V4HPSUGU-BVMnhgRJ.js +0 -2
- package/dist/javascript-CP782ZPa.js +0 -2
- package/dist/vitesse-dark-XJRLdhTE.js +0 -2
- package/dist/vitesse-light-DS2ELujL.js +0 -2
|
@@ -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) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default LogStageHeader;
|
|
@@ -682,16 +682,25 @@ export interface StageDetailType extends Pick<StageInfoDTO, 'stage' | 'startTime
|
|
|
682
682
|
isOpen: boolean;
|
|
683
683
|
targetPlatforms?: StageInfoDTO['metadata']['targetPlatforms'];
|
|
684
684
|
}
|
|
685
|
-
export
|
|
685
|
+
export type LogVirtualItem = {
|
|
686
|
+
type: 'header';
|
|
687
|
+
stageIndex: number;
|
|
688
|
+
} | {
|
|
689
|
+
type: 'log';
|
|
690
|
+
stageIndex: number;
|
|
691
|
+
logIndex: number;
|
|
692
|
+
};
|
|
693
|
+
export interface LogStageHeaderProps extends Omit<StageDetailType, 'logs'>, Pick<LogsRendererType, 'fullScreenView'> {
|
|
686
694
|
handleStageClose: (index: number) => void;
|
|
687
695
|
handleStageOpen: (index: number) => void;
|
|
688
696
|
stageIndex: number;
|
|
697
|
+
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
689
698
|
/**
|
|
690
|
-
*
|
|
699
|
+
* When false, the sticky CSS is not applied to the button.
|
|
700
|
+
* The virtual list wrapper div controls positioning instead.
|
|
701
|
+
* @default true
|
|
691
702
|
*/
|
|
692
|
-
|
|
693
|
-
searchIndex: string;
|
|
694
|
-
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
|
703
|
+
applySticky?: boolean;
|
|
695
704
|
}
|
|
696
705
|
export interface CreateMarkupReturnType {
|
|
697
706
|
__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;
|