@devtron-labs/devtron-fe-common-lib 1.13.0-beta-5 → 1.13.0-beta-7

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 (117) hide show
  1. package/dist/{@common-rjsf-DeeiJ2zv.js → @common-rjsf-CsUgIJpt.js} +17697 -18328
  2. package/dist/{@framer-motion-vKlTvuNq.js → @framer-motion-CR14HVwJ.js} +1 -1
  3. package/dist/{@react-dates-DsYJWeMo.js → @react-dates-z_WnuIha.js} +14 -14
  4. package/dist/{@react-select-D3FsD2uq.js → @react-select-C1KOG39W.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-DWN3dQyp.js → @react-virtualized-sticky-tree-DE3LznCK.js} +1 -1
  6. package/dist/{@vendor-BZ1WgRCl.js → @vendor-0Z6AwxJy.js} +13864 -13874
  7. package/dist/Common/Checkbox.d.ts +5 -0
  8. package/dist/Common/Constants.d.ts +2 -2
  9. package/dist/Common/Helper.d.ts +1 -5
  10. package/dist/Common/Toggle/Toggle.d.ts +1 -4
  11. package/dist/Common/Types.d.ts +2 -4
  12. package/dist/Common/index.d.ts +3 -2
  13. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  14. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
  15. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
  16. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
  17. package/dist/Shared/Components/Button/types.d.ts +1 -3
  18. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
  19. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  20. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  21. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +2 -0
  22. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
  23. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  24. package/dist/Shared/Components/CICDHistory/service.d.ts +0 -3
  25. package/dist/Shared/Components/CICDHistory/types.d.ts +76 -10
  26. package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -7
  27. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  28. package/dist/Shared/Components/Error/types.d.ts +0 -4
  29. package/dist/Shared/Components/Error/utils.d.ts +0 -1
  30. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  31. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  32. package/dist/Shared/Components/Header/types.d.ts +1 -0
  33. package/dist/Shared/Components/Icon/Icon.d.ts +9 -23
  34. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  35. package/dist/Shared/Components/Icon/types.d.ts +1 -2
  36. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
  37. package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
  38. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  39. package/dist/Shared/Components/License/index.d.ts +1 -1
  40. package/dist/Shared/Components/License/utils.d.ts +1 -2
  41. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  42. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  43. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
  44. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +7 -33
  45. package/dist/Shared/Components/index.d.ts +2 -2
  46. package/dist/Shared/Helpers.d.ts +2 -2
  47. package/dist/Shared/Providers/index.d.ts +1 -1
  48. package/dist/Shared/Providers/types.d.ts +1 -11
  49. package/dist/Shared/constants.d.ts +24 -18
  50. package/dist/Shared/types.d.ts +4 -105
  51. package/dist/assets/@common-rjsf.css +1 -1
  52. package/dist/assets/{ic-checkbox-unselected.ab91cdba.svg → ic-check-grey.f556e371.svg} +4 -2
  53. package/dist/assets/ic-disconnected.551d6161.svg +29 -0
  54. package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
  55. package/dist/assets/ic-flask.d0624c30.svg +3 -0
  56. package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
  57. package/dist/assets/{ic-caret-down-small.7c4f88bf.svg → ic-magnifying-glass.cf47bce0.svg} +1 -1
  58. package/dist/assets/ic-megaphone.b9f9a901.svg +19 -0
  59. package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
  60. package/dist/assets/ic-strategy-blue-green.0b348d03.svg +6 -0
  61. package/dist/assets/ic-strategy-canary.db010ee7.svg +5 -0
  62. package/dist/assets/ic-strategy-recreate.f0acddaa.svg +4 -0
  63. package/dist/assets/ic-strategy-rolling.1c356cdb.svg +6 -0
  64. package/dist/assets/{ic-checkbox-hover.93e8d66a.svg → ic-timeout-red.5eda1010.svg} +4 -3
  65. package/dist/index.d.ts +0 -3
  66. package/dist/index.js +851 -876
  67. package/package.json +1 -1
  68. package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
  69. package/dist/Common/Checkbox/index.d.ts +0 -1
  70. package/dist/Common/Drawer/index.d.ts +0 -1
  71. package/dist/Common/EmptyState/index.d.ts +0 -2
  72. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
  73. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
  74. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
  75. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +0 -3
  76. package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
  77. package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -3
  78. package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -4
  79. package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -78
  80. package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -8
  81. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +0 -10
  82. package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +0 -3
  83. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +0 -22
  84. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +0 -20
  85. package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
  86. package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
  87. package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
  88. package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
  89. package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
  90. package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
  91. package/dist/assets/ic-celebration.77350694.svg +0 -238
  92. package/dist/assets/ic-checkbox-hover.0151d832.svg +0 -20
  93. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
  94. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
  95. package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
  96. package/dist/assets/ic-checkbox-selected.c5539d6f.svg +0 -20
  97. package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
  98. package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
  99. package/dist/assets/ic-disconnect.26bad827.svg +0 -3
  100. package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
  101. package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
  102. package/dist/assets/ic-gift-gradient.7690a246.svg +0 -9
  103. package/dist/assets/ic-gift.9b048fc7.svg +0 -3
  104. package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
  105. package/dist/assets/ic-google-gke.07314724.svg +0 -9
  106. package/dist/assets/ic-install.28c3beec.svg +0 -3
  107. package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
  108. package/dist/assets/ic-kind.bd8ee992.svg +0 -9
  109. package/dist/assets/ic-laptop.485e21b4.svg +0 -3
  110. package/dist/assets/ic-man-on-rocket.7f67e914.svg +0 -94
  111. package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
  112. package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
  113. package/dist/assets/ic-mobile.7c649251.svg +0 -4
  114. package/dist/assets/ic-sparkle-color.01c0be88.svg +0 -1
  115. package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
  116. package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
  117. package/dist/assets/ic-wifi-slash.d0390749.svg +0 -3
@@ -0,0 +1,5 @@
1
+ import { Component } from 'react';
2
+ import { CheckboxProps } from './Types';
3
+ export declare class Checkbox extends Component<CheckboxProps> {
4
+ render(): JSX.Element;
5
+ }
@@ -13,7 +13,6 @@ export declare const DOCUMENTATION: {
13
13
  GLOBAL_CONFIG_BUILD_INFRA: string;
14
14
  ENTERPRISE_LICENSE: string;
15
15
  KUBE_CONFIG: string;
16
- TENANT_INSTALLATION: string;
17
16
  };
18
17
  export declare const PATTERNS: {
19
18
  STRING: RegExp;
@@ -43,6 +42,7 @@ export declare const URLS: {
43
42
  readonly CREATE_JOB: "create-job";
44
43
  readonly GETTING_STARTED: "getting-started";
45
44
  readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
45
+ readonly APP_LIST_HELM: "h";
46
46
  readonly APP_CI_DETAILS: "ci-details";
47
47
  readonly LOGS: "Logs";
48
48
  readonly CREATE: "/create";
@@ -64,6 +64,7 @@ export declare const URLS: {
64
64
  readonly COMPARE_CLUSTERS: "/compare-clusters";
65
65
  readonly APP_CONFIG: "edit";
66
66
  readonly GLOBAL_CONFIG: "/global-config";
67
+ readonly CONFIG_DRIFT: "config-drift";
67
68
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
68
69
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
69
70
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
@@ -110,7 +111,6 @@ export declare const ROUTES: {
110
111
  readonly ATTRIBUTES_CREATE: "attributes/create";
111
112
  readonly ATTRIBUTES_UPDATE: "attributes/update";
112
113
  readonly APP_LIST_MIN: "app/min";
113
- readonly APP_DETAIL: "app/detail";
114
114
  readonly CLUSTER_LIST_MIN: "cluster/autocomplete";
115
115
  readonly CLUSTER_LIST_RAW: "k8s/capacity/cluster/list/raw";
116
116
  readonly PLUGIN_GLOBAL_LIST_DETAIL_V2: "plugin/global/list/detail/v2";
@@ -1,7 +1,7 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
  import { JSONPathOptions } from 'jsonpath-plus';
3
3
  import { AsyncOptions, DeploymentNodeType, UseSearchString } from './Types';
4
- import { scrollableInterface, AppType } from '../Shared';
4
+ import { scrollableInterface } from '../Shared';
5
5
  import * as Sentry from '@sentry/browser';
6
6
  export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
7
7
  interface ConditionalWrapper<T> {
@@ -95,10 +95,8 @@ export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultT
95
95
  export declare const applyCompareDiffOnUneditedDocument: (uneditedDocument: object, editedDocument: object) => any;
96
96
  /**
97
97
  * Returns a debounced variant of the function
98
- * @deprecated - It should use useRef instead, pls use useDebounce
99
98
  */
100
99
  export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
101
- export declare const useDebounce: <Callback extends (...args: any[]) => void>(cb: Callback, delay: number) => (...args: Parameters<Callback>) => void;
102
100
  /**
103
101
  * Returns a capitalized string with first letter in uppercase and rest in lowercase
104
102
  */
@@ -146,6 +144,4 @@ export declare const getGoLangFormattedDateWithTimezone: (dateFormat: string) =>
146
144
  */
147
145
  export declare const getHashedValue: (value: string) => Promise<string | null>;
148
146
  export declare const getTTLInHumanReadableFormat: (ttl: number) => string;
149
- export declare const getAIAnalyticsEvents: (context: string, appType?: AppType) => string;
150
- export declare const findRight: <T>(arr: T[], predicate: (item: T) => boolean) => T | null;
151
147
  export {};
@@ -1,5 +1,4 @@
1
- import { CHECKBOX_VALUE } from '../Types';
2
- declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, value, isControlled, ...props }: {
1
+ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, ...props }: {
3
2
  [x: string]: any;
4
3
  selected?: boolean;
5
4
  onSelect?: any;
@@ -12,7 +11,5 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
12
11
  throttleOnChange?: boolean;
13
12
  shouldToggleValueOnLabelClick?: boolean;
14
13
  isLoading?: boolean;
15
- value?: CHECKBOX_VALUE;
16
- isControlled?: boolean;
17
14
  }) => JSX.Element;
18
15
  export default Toggle;
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -75,7 +75,6 @@ export interface CheckboxProps {
75
75
  onClick?: (event: any) => void;
76
76
  id?: string;
77
77
  dataTestId?: string;
78
- children?: ReactNode;
79
78
  }
80
79
  export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
81
80
  theme: TippyTheme;
@@ -111,7 +110,6 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
111
110
  dataTestid?: string;
112
111
  children?: TippyCustomizedProps['children'];
113
112
  iconClassName?: string;
114
- buttonPadding?: string;
115
113
  }
116
114
  export interface GenericEmptyStateType {
117
115
  title: ReactNode;
@@ -712,7 +710,7 @@ export interface AppEnvironment {
712
710
  ciArtifactId?: number;
713
711
  }
714
712
  export interface Strategy {
715
- deploymentTemplate: string;
713
+ deploymentTemplate: DeploymentStrategyType;
716
714
  config: any;
717
715
  default?: boolean;
718
716
  }
@@ -15,8 +15,9 @@ export { default as DevtronCopyright } from './DevtronCopyright';
15
15
  export * from './DevtronProgressing';
16
16
  export * from './Dialogs';
17
17
  export * from './DraggableWrapper';
18
- export * from './Drawer';
19
- export * from './EmptyState';
18
+ export * from './Drawer/Drawer';
19
+ export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
20
+ export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
20
21
  export { default as ErrorScreenManager } from './ErrorScreenManager';
21
22
  export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
22
23
  export * from './GenericDescription';
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
6
6
  envId: number;
7
7
  abortControllerRef?: MutableRefObject<AbortController>;
8
8
  }) => Promise<UploadFileDTO>;
9
- export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
9
+ export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, strategy, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
@@ -1,7 +1,7 @@
1
1
  import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
2
2
  import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
3
3
  import { DeploymentStrategy } from '../../../../../Shared/Components';
4
- import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
4
+ import { DeploymentStrategyType, EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
5
5
  import { STAGE_MAP } from '../../../../index';
6
6
  interface ConfigSecretType {
7
7
  label: string;
@@ -108,6 +108,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
108
108
  */
109
109
  runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
110
110
  isRollbackTrigger?: boolean;
111
+ strategy?: DeploymentStrategyType;
111
112
  }
112
113
  export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
113
114
  cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
@@ -0,0 +1,6 @@
1
+ interface AnnouncementBannerType {
2
+ parentClassName?: string;
3
+ isCDMaterial?: boolean;
4
+ }
5
+ declare const AnnouncementBanner: ({ parentClassName, isCDMaterial }: AnnouncementBannerType) => JSX.Element;
6
+ export default AnnouncementBanner;
@@ -0,0 +1 @@
1
+ export { default as AnnouncementBanner } from './AnnouncementBanner';
@@ -14,9 +14,7 @@ export declare enum ButtonStyleType {
14
14
  negativeGrey = "negative-grey",
15
15
  positive = "positive",
16
16
  warning = "warning",
17
- neutral = "neutral",
18
- neutralN0 = "neutral-n0",
19
- neutralWhite = "neutral-white"
17
+ neutral = "neutral"
20
18
  }
21
19
  export declare enum ButtonComponentType {
22
20
  button = "button",
@@ -0,0 +1,3 @@
1
+ import { AppStatusDetailsChartType } from './types';
2
+ declare const AppStatusDetailsChart: ({ filterRemoveHealth, showFooter, showConfigDriftInfo, onClose, }: AppStatusDetailsChartType) => JSX.Element;
3
+ export default AppStatusDetailsChart;
@@ -1,3 +1,3 @@
1
1
  import { DeploymentStatusDetailBreakdownType } from './types';
2
- declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
2
+ declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
3
3
  export default DeploymentStatusDetailBreakdown;
@@ -1,2 +1,2 @@
1
1
  import { DeploymentStatusDetailRowType } from './types';
2
- export declare const DeploymentStatusDetailRow: ({ type, hideVerticalConnector, deploymentDetailedData, appDetails, }: DeploymentStatusDetailRowType) => JSX.Element;
2
+ export declare const DeploymentStatusDetailRow: ({ type, hideVerticalConnector, deploymentDetailedData, }: DeploymentStatusDetailRowType) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ErrorInfoStatusBarType } from './types';
2
+ export declare const ErrorInfoStatusBar: ({ nonDeploymentError, type, errorMessage, hideVerticalConnector, hideErrorIcon, }: ErrorInfoStatusBarType) => JSX.Element;
@@ -84,4 +84,3 @@ export declare const PROGRESSING_STATUS: {
84
84
  readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
85
85
  };
86
86
  export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
87
- export declare const APP_HEALTH_DROP_DOWN_LIST: string[];
@@ -1,3 +1,4 @@
1
+ export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
1
2
  export { default as Artifacts } from './Artifacts';
2
3
  export { default as CDEmptyState } from './CDEmptyState';
3
4
  export * from './CiPipelineSourceConfig';
@@ -10,9 +10,6 @@ export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId,
10
10
  export declare const getTagDetails: (params: any) => Promise<ResponseType<any>>;
11
11
  export declare const cancelCiTrigger: (params: any, isForceAbort: any) => Promise<ResponseType<any>>;
12
12
  export declare const cancelPrePostCdTrigger: (pipelineId: any, workflowRunner: any, isForceAbort: boolean) => Promise<ResponseType<any>>;
13
- /**
14
- * @deprecated
15
- */
16
13
  export declare function getDeploymentStatusDetail(appId: string, envId: string, showTimeline: boolean, triggerId?: string, isHelmApps?: boolean, installedAppVersionHistoryId?: number): Promise<DeploymentStatusDetailsResponse>;
17
14
  export declare function getManualSync(params: {
18
15
  appId: string;
@@ -2,7 +2,7 @@ import { CSSProperties, ReactElement, ReactNode } from 'react';
2
2
  import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
3
3
  import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
4
4
  import { DeploymentStageType } from '../../constants';
5
- import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
5
+ import { AggregationKeys, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
6
6
  import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
7
7
  export declare enum HistoryComponentType {
8
8
  CI = "CI",
@@ -296,7 +296,66 @@ export type FinishedType = {
296
296
  status?: never;
297
297
  finishedOn?: never;
298
298
  });
299
- export type DeploymentStatusDetailsResponse = ResponseType<DeploymentStatusDetailsType>;
299
+ export interface SyncStageResourceDetail {
300
+ id: number;
301
+ cdWorkflowRunnerId: number;
302
+ resourceGroup: string;
303
+ resourceKind: string;
304
+ resourceName: string;
305
+ resourcePhase: string;
306
+ resourceStatus: string;
307
+ statusMessage: string;
308
+ }
309
+ export interface DeploymentStatusDetailsTimelineType {
310
+ id: number;
311
+ cdWorkflowRunnerId: number;
312
+ status: string;
313
+ statusDetail: string;
314
+ statusTime: string;
315
+ resourceDetails?: SyncStageResourceDetail[];
316
+ }
317
+ export interface DeploymentStatusDetailsType extends Pick<History, 'isDeploymentWithoutApproval'> {
318
+ deploymentFinishedOn: string;
319
+ deploymentStartedOn: string;
320
+ triggeredBy: string;
321
+ statusFetchCount: number;
322
+ statusLastFetchedAt: string;
323
+ timelines: DeploymentStatusDetailsTimelineType[];
324
+ wfrStatus?: string;
325
+ }
326
+ export interface DeploymentStatusDetailsResponse extends ResponseType {
327
+ result?: DeploymentStatusDetailsType;
328
+ }
329
+ interface DeploymentStatusDetailRow {
330
+ icon: string;
331
+ displayText: ReactNode;
332
+ displaySubText: string;
333
+ time: string;
334
+ resourceDetails?: any;
335
+ isCollapsed?: boolean;
336
+ kubeList?: {
337
+ icon: any;
338
+ message: string;
339
+ }[];
340
+ timelineStatus?: string;
341
+ }
342
+ export interface DeploymentStatusDetailsBreakdownDataType {
343
+ deploymentStatus: string;
344
+ deploymentStatusText: string;
345
+ deploymentTriggerTime: string;
346
+ deploymentEndTime: string;
347
+ deploymentError: string;
348
+ triggeredBy: string;
349
+ nonDeploymentError: string;
350
+ deploymentStatusBreakdown: {
351
+ DEPLOYMENT_INITIATED: DeploymentStatusDetailRow;
352
+ GIT_COMMIT?: DeploymentStatusDetailRow;
353
+ ARGOCD_SYNC?: DeploymentStatusDetailRow;
354
+ KUBECTL_APPLY?: DeploymentStatusDetailRow;
355
+ APP_HEALTH?: DeploymentStatusDetailRow;
356
+ HELM_PACKAGE_GENERATED?: DeploymentStatusDetailRow;
357
+ };
358
+ }
300
359
  export interface DeploymentDetailStepsType extends Pick<History, 'isDeploymentWithoutApproval'> {
301
360
  deploymentStatus?: string;
302
361
  deploymentAppType?: DeploymentAppTypes;
@@ -397,17 +456,19 @@ export interface LogsRendererType extends Pick<HistoryLogsProps, 'fullScreenView
397
456
  export interface DeploymentStatusDetailBreakdownType {
398
457
  deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
399
458
  isVirtualEnvironment?: boolean;
400
- /**
401
- * Won't be available if coming directly to deployment history from url
402
- */
403
- appDetails: AppDetails | null;
404
- rootClassName?: string;
405
459
  }
406
- export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
407
- type: DeploymentStatusTimelineType;
460
+ export interface DeploymentStatusDetailRowType {
461
+ type: string;
408
462
  hideVerticalConnector?: boolean;
409
463
  deploymentDetailedData: DeploymentStatusDetailsBreakdownDataType;
410
464
  }
465
+ export interface ErrorInfoStatusBarType {
466
+ nonDeploymentError: string;
467
+ type: string;
468
+ errorMessage: string;
469
+ hideVerticalConnector?: boolean;
470
+ hideErrorIcon?: boolean;
471
+ }
411
472
  export interface DeploymentConfigurationsRes extends ResponseType {
412
473
  result?: DeploymentTemplateList[];
413
474
  }
@@ -447,6 +508,12 @@ export interface DeploymentHistorySidebarType {
447
508
  deploymentHistoryList: DeploymentTemplateList[];
448
509
  setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
449
510
  }
511
+ export interface AppStatusDetailsChartType {
512
+ filterRemoveHealth?: boolean;
513
+ showFooter: boolean;
514
+ showConfigDriftInfo?: boolean;
515
+ onClose?: () => void;
516
+ }
450
517
  export interface StatusFilterButtonType {
451
518
  nodes: Array<Node>;
452
519
  selectedTab: string;
@@ -593,7 +660,6 @@ export interface DeploymentHistory {
593
660
  ci_artifact_id?: number;
594
661
  runSource?: RunSourceType;
595
662
  }
596
- type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
597
663
  export interface DeploymentStrategy {
598
664
  deploymentTemplate: DeploymentStrategyType;
599
665
  config: any;
@@ -1,11 +1,10 @@
1
1
  import { ReactElement } from 'react';
2
- import { DeploymentAppTypes } from '../../../Common/Types';
3
- import { DeploymentStatusBreakdownItemType, Node } from '../../types';
4
- import { TabGroupProps } from '../TabGroup';
5
- import { DeploymentHistoryResultObject, ExecutionInfoType, History, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
2
+ import { Node } from '../../types';
3
+ import { DeploymentHistoryResultObject, ExecutionInfoType, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
6
4
  export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
7
5
  export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
8
6
  export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
7
+ export declare const renderIcon: (iconState: string) => JSX.Element;
9
8
  export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
10
9
  export declare const getLogSearchIndex: ({ stageIndex, lineNumberInsideStage, }: Record<"stageIndex" | "lineNumberInsideStage", number>) => string;
11
10
  export declare const sanitizeWorkflowExecutionStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ExecutionInfoType | null;
@@ -37,6 +36,3 @@ export declare const getStatusFilters: ({ allNodeCount, missingNodeCount, failed
37
36
  };
38
37
  export declare const getAppStatusIcon: (status: NodeStatus | NodeFilters, hideMessage?: boolean) => JSX.Element;
39
38
  export declare const getTriggerStatusIcon: (status: string) => string;
40
- export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusBreakdownItemType["icon"]) => JSX.Element;
41
- export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
42
- export declare const getTriggerOutputTabs: (triggerDetails: History, deploymentAppType: DeploymentAppTypes) => TabGroupProps["tabs"];
@@ -1,3 +1,3 @@
1
1
  import { ErrorBarType } from './types';
2
- declare const ErrorBar: ({ appDetails, useParentMargin }: ErrorBarType) => JSX.Element;
2
+ declare const ErrorBar: ({ appDetails }: ErrorBarType) => JSX.Element;
3
3
  export default ErrorBar;
@@ -1,10 +1,6 @@
1
1
  import { AppDetails } from '../../types';
2
2
  export interface ErrorBarType {
3
3
  appDetails: AppDetails;
4
- /**
5
- * @default true
6
- */
7
- useParentMargin?: boolean;
8
4
  }
9
5
  export declare enum AppDetailsErrorType {
10
6
  ERRIMAGEPULL = "errimagepull",
@@ -1,3 +1,2 @@
1
1
  import { AppDetails } from '../../types';
2
- export declare const getIsImagePullBackOff: (appDetails: AppDetails) => boolean;
3
2
  export declare const renderErrorHeaderMessage: (appDetails: AppDetails, key: string, onClickActionButton?: any) => JSX.Element;
@@ -1,3 +1,3 @@
1
- import { AnimatePresence, motion } from 'framer-motion';
1
+ import { AnimatePresence } from 'framer-motion';
2
2
  export * from './MotionDiv';
3
- export { AnimatePresence, motion };
3
+ export { AnimatePresence };
@@ -1,3 +1,3 @@
1
1
  import { PageHeaderType } from './types';
2
- declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, }: PageHeaderType) => JSX.Element;
2
+ declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, showAnnouncementHeader, tippyProps, }: PageHeaderType) => JSX.Element;
3
3
  export default PageHeader;
@@ -16,6 +16,7 @@ export interface PageHeaderType {
16
16
  showCloseButton?: boolean;
17
17
  onClose?: () => void;
18
18
  markAsBeta?: boolean;
19
+ showAnnouncementHeader?: boolean;
19
20
  tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
20
21
  isTippyCustomized?: boolean;
21
22
  tippyRedirectLink?: string;
@@ -3,15 +3,12 @@ export declare const iconMap: {
3
3
  'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
4
4
  'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
5
5
  'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
6
- 'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
7
6
  'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
7
  'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
8
  'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
9
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
- 'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
10
  'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
11
  'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
14
- 'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
15
12
  'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
16
13
  'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
17
14
  'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -22,9 +19,7 @@ export declare const iconMap: {
22
19
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
23
20
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
21
  'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
- 'ic-caret-down-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
26
22
  'ic-caret-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
- 'ic-caret-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
23
  'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
29
24
  'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
25
  'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -35,7 +30,6 @@ export declare const iconMap: {
35
30
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
36
31
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
32
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
- 'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
33
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
34
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
35
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -48,25 +42,21 @@ export declare const iconMap: {
48
42
  'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
43
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
44
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
- 'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
45
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
46
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
47
  'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
48
  'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
- 'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
- 'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
49
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
+ 'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
51
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
+ 'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
53
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
54
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
- 'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
- 'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
55
  'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
56
  'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
57
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
58
  'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
59
  'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
- 'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
60
  'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
61
  'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
62
  'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -80,27 +70,22 @@ export declare const iconMap: {
80
70
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
81
71
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
82
72
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
- 'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
84
73
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
85
- 'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
74
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
75
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
- 'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
- 'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
90
76
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
+ 'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
91
78
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
92
79
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
93
80
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
94
81
  'ic-login-devtron-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
82
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
+ 'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
84
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
85
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
- 'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
86
  'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
100
87
  'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
- 'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
88
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
103
- 'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
104
89
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
105
90
  'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
106
91
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -111,6 +96,7 @@ export declare const iconMap: {
111
96
  'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
97
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
98
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
+ 'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
100
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
101
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
102
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -120,10 +106,13 @@ export declare const iconMap: {
120
106
  'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
121
107
  'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
122
108
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
123
- 'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
124
109
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
110
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
126
111
  'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
+ 'ic-strategy-blue-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
+ 'ic-strategy-canary': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
+ 'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
+ 'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
127
116
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
128
117
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
129
118
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -133,13 +122,10 @@ export declare const iconMap: {
133
122
  'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
123
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
124
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
- 'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
125
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
138
- 'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
126
  'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
140
127
  'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
141
128
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
142
- 'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
143
129
  };
144
130
  export type IconName = keyof typeof iconMap;
145
131
  export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
@@ -1,2 +1,2 @@
1
1
  import { IconBaseProps } from './types';
2
- export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId }: IconBaseProps) => JSX.Element;
2
+ export declare const IconBase: ({ name, iconMap, size, tooltipProps, color }: IconBaseProps) => JSX.Element;
@@ -11,7 +11,7 @@ export interface IconBaseProps {
11
11
  * The size of the icon in pixels.
12
12
  * @default 16
13
13
  */
14
- size?: IconBaseSizeType | null;
14
+ size?: IconBaseSizeType;
15
15
  /** Props to configure the tooltip when hovering over the icon. */
16
16
  tooltipProps?: TooltipProps;
17
17
  /**
@@ -20,6 +20,5 @@ export interface IconBaseProps {
20
20
  * @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
21
21
  */
22
22
  color: IconBaseColorType;
23
- dataTestId?: string;
24
23
  }
25
24
  export {};
@@ -1,7 +1,7 @@
1
- import { InfoBlockVariant } from '../../constants';
2
1
  import { ButtonProps } from '../Button';
3
2
  import { InfoBlockProps } from './types';
4
- export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockVariant, InfoBlockProps['customIcon']>;
3
+ export declare const VARIANT_TO_BG_MAP: Record<InfoBlockProps['variant'], string>;
4
+ export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockProps['variant'], InfoBlockProps['customIcon']>;
5
5
  export declare const CONTAINER_SIZE_TO_CLASS_MAP: Record<InfoBlockProps['size'], string>;
6
6
  export declare const SIZE_TO_ICON_CLASS_MAP: Record<InfoBlockProps['size'], string>;
7
7
  export declare const CONTAINER_SIZE_TO_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { ComponentSizeType, InfoBlockVariantType } from '../../constants';
2
+ import { ComponentSizeType } from '../../constants';
3
3
  import { BorderConfigType, ComponentLayoutType } from '../../types';
4
4
  import { ButtonComponentType, ButtonProps } from '../Button';
5
5
  export type InfoBlockProps = {
@@ -10,7 +10,7 @@ export type InfoBlockProps = {
10
10
  /**
11
11
  * @default 'information'
12
12
  */
13
- variant?: InfoBlockVariantType;
13
+ variant?: 'error' | 'help' | 'information' | 'success' | 'warning' | 'neutral';
14
14
  /**
15
15
  * @default ComponentSizeType.large
16
16
  */
@@ -1,3 +1,3 @@
1
1
  import { InfoIconTippyProps } from '../../../Common/Types';
2
- declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, }: InfoIconTippyProps) => JSX.Element;
2
+ declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, }: InfoIconTippyProps) => JSX.Element;
3
3
  export default InfoIconTippy;
@@ -2,4 +2,4 @@ export { default as ActivateLicenseDialog } from './ActivateLicenseDialog';
2
2
  export { default as DevtronLicenseCard } from './DevtronLicenseCard';
3
3
  export { ICDevtronWithBorder, default as InstallationFingerprintInfo } from './License.components';
4
4
  export * from './types';
5
- export { parseDevtronLicenseData, parseDevtronLicenseDTOIntoLicenseCardData } from './utils';
5
+ export { parseDevtronLicenseData } from './utils';