@devtron-labs/devtron-fe-common-lib 0.1.8-beta-15 → 0.1.8-beta-17

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.
Files changed (29) hide show
  1. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  2. package/dist/Common/SearchBar/types.d.ts +1 -8
  3. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -2
  4. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -31
  5. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -2
  6. package/dist/Shared/Helpers.d.ts +0 -2
  7. package/dist/Shared/constants.d.ts +0 -1
  8. package/dist/assets/index.css +1 -1
  9. package/dist/{cssMode-df1a1d78.js → cssMode-ccda78e8.js} +1 -1
  10. package/dist/{freemarker2-6cf4e6b7.js → freemarker2-141ab423.js} +1 -1
  11. package/dist/{handlebars-488425ea.js → handlebars-7c03ef8d.js} +1 -1
  12. package/dist/{html-45060676.js → html-24da9ddd.js} +1 -1
  13. package/dist/{htmlMode-1c469207.js → htmlMode-5e28b1fd.js} +1 -1
  14. package/dist/{index-19bf64dd.js → index-c3aacffe.js} +23576 -23830
  15. package/dist/index.d.ts +0 -1
  16. package/dist/index.js +447 -452
  17. package/dist/{javascript-63075800.js → javascript-2ed06231.js} +1 -1
  18. package/dist/{jsonMode-7d7eeea7.js → jsonMode-7a88ed2c.js} +1 -1
  19. package/dist/{liquid-f51a8250.js → liquid-0201d193.js} +1 -1
  20. package/dist/{mdx-b39485fb.js → mdx-ea651a63.js} +1 -1
  21. package/dist/{python-facb0bb2.js → python-c2f4c838.js} +1 -1
  22. package/dist/{razor-8313af80.js → razor-bdcae6fb.js} +1 -1
  23. package/dist/{tsMode-f2f78f43.js → tsMode-6f80c168.js} +1 -1
  24. package/dist/{typescript-cf2a1a15.js → typescript-19420b4a.js} +1 -1
  25. package/dist/{xml-20b81e20.js → xml-b7e90361.js} +1 -1
  26. package/dist/{yaml-84534351.js → yaml-f143cc58.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/Common/SearchBar/utils.d.ts +0 -3
  29. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +0 -4
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
34
34
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
35
35
  * ```
36
36
  */
37
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, }: SearchBarProps) => JSX.Element;
37
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
38
38
  export default SearchBar;
@@ -1,5 +1,4 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
-
1
+ /// <reference types="react" />
3
2
  export interface SearchBarProps {
4
3
  /**
5
4
  * Initial search text
@@ -41,10 +40,4 @@ export interface SearchBarProps {
41
40
  * Hide the background and border of the search
42
41
  */
43
42
  noBackgroundAndBorder?: boolean;
44
- /**
45
- * Height of the searchbar
46
- *
47
- * @default 'ComponentSizeType.medium'
48
- */
49
- size?: ComponentSizeType.medium | ComponentSizeType.large;
50
43
  }
@@ -43,5 +43,3 @@ export declare const DEFAULT_ENV = "devtron-ci";
43
43
  export declare const LOGS_RETRY_COUNT = 3;
44
44
  export declare const DEPLOYMENT_STATUS_QUERY_PARAM = "deployment-status";
45
45
  export declare const MANIFEST_STATUS_HEADERS: string[];
46
- export declare const LOGS_STAGE_IDENTIFIER = "STAGE_INFO";
47
- export declare const LOGS_STAGE_STREAM_SEPARATOR = "|";
@@ -584,37 +584,6 @@ export interface TriggerHistoryFilterCriteriaProps {
584
584
  releaseId: number;
585
585
  showCurrentReleaseDeployments: boolean;
586
586
  }
587
- export declare enum StageStatusType {
588
- SUCCESS = "Success",
589
- FAILURE = "Failure",
590
- /**
591
- * Not given in API response
592
- */
593
- PROGRESSING = "Progressing"
594
- }
595
- export interface StageInfoDTO {
596
- stage: string;
597
- startTime: string;
598
- endTime?: string;
599
- status?: StageStatusType;
600
- }
601
- export interface StageDetailType extends Pick<StageInfoDTO, 'stage' | 'startTime' | 'endTime' | 'status'> {
602
- logs: string[];
603
- isOpen: boolean;
604
- }
605
- export interface LogStageAccordionProps extends StageDetailType {
606
- handleStageClose: (index: number) => void;
607
- handleStageOpen: (index: number) => void;
608
- stageIndex: number;
609
- /**
610
- * A stage is loading if it is last in current stage list and event is not closed
611
- */
612
- isLoading: boolean;
613
- }
614
- export interface CreateMarkupReturnType {
615
- __html: string;
616
- isSearchKeyPresent: boolean;
617
- }
618
587
  export type TriggerHistoryFilterCriteriaType = `${string}|${string}|${string}`[];
619
588
  export declare const terminalStatus: Set<string>;
620
589
  export declare const statusSet: Set<string>;
@@ -1,7 +1,6 @@
1
- import { TriggerHistoryFilterCriteriaProps, DeploymentHistoryResultObject, TriggerHistoryFilterCriteriaType, StageStatusType } from './types';
1
+ import { TriggerHistoryFilterCriteriaProps, DeploymentHistoryResultObject, TriggerHistoryFilterCriteriaType } from './types';
2
2
 
3
3
  export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
4
4
  export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
5
5
  export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
6
6
  export declare const renderIcon: (iconState: string) => JSX.Element;
7
- export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
@@ -32,6 +32,4 @@ export declare const renderValidInputButtonTippy: (children: ReactElement) => JS
32
32
  export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
33
33
  export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
34
34
  export declare const decode: (data: any, isEncoded?: boolean) => {};
35
- export declare const isTimeStringAvailable: (time: string) => boolean;
36
- export declare const getTimeDifference: (startTime: string, endTime: string) => string;
37
35
  export {};
@@ -353,7 +353,6 @@ export declare enum K8sResourcePayloadAppType {
353
353
  HELM_APP = 1,
354
354
  EXTERNAL_ARGO_APP = 2
355
355
  }
356
- export declare const ANSI_UP_REGEX: RegExp;
357
356
  /**
358
357
  * Size variants for components
359
358
  */