@devtron-labs/devtron-fe-common-lib 1.13.0-pre-1 → 1.13.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.
Files changed (65) hide show
  1. package/dist/{@common-rjsf-D9HxVy-e.js → @common-rjsf-BUC7SZkT.js} +5667 -5708
  2. package/dist/{@framer-motion-CR14HVwJ.js → @framer-motion-BL6-Hrrc.js} +1 -1
  3. package/dist/{@react-dates-z_WnuIha.js → @react-dates-CIHHgq4p.js} +14 -14
  4. package/dist/{@react-select-C1KOG39W.js → @react-select-BVKpsqGO.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-DE3LznCK.js → @react-virtualized-sticky-tree-CjKfeUxB.js} +1 -1
  6. package/dist/{@vendor-0Z6AwxJy.js → @vendor-CekuMgQx.js} +9990 -9980
  7. package/dist/Common/Checkbox.d.ts +5 -0
  8. package/dist/Common/Types.d.ts +0 -1
  9. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
  10. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
  11. package/dist/Shared/Components/Button/types.d.ts +1 -3
  12. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  13. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  14. package/dist/Shared/Components/Header/types.d.ts +1 -0
  15. package/dist/Shared/Components/Icon/Icon.d.ts +0 -22
  16. package/dist/Shared/Components/Icon/types.d.ts +1 -1
  17. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
  18. package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
  19. package/dist/Shared/Components/License/index.d.ts +1 -1
  20. package/dist/Shared/Components/License/utils.d.ts +1 -2
  21. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  22. package/dist/Shared/Components/index.d.ts +1 -0
  23. package/dist/Shared/Providers/index.d.ts +1 -1
  24. package/dist/Shared/Providers/types.d.ts +1 -11
  25. package/dist/Shared/constants.d.ts +2 -16
  26. package/dist/assets/@common-rjsf.css +1 -1
  27. package/dist/assets/ic-megaphone.b9f9a901.svg +19 -0
  28. package/dist/index.d.ts +0 -3
  29. package/dist/index.js +716 -722
  30. package/package.json +1 -1
  31. package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
  32. package/dist/Common/Checkbox/index.d.ts +0 -1
  33. package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
  34. package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
  35. package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
  36. package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
  37. package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
  38. package/dist/assets/ic-caret-down-small.7c4f88bf.svg +0 -3
  39. package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
  40. package/dist/assets/ic-checkbox-hover.0151d832.svg +0 -20
  41. package/dist/assets/ic-checkbox-hover.93e8d66a.svg +0 -20
  42. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
  43. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
  44. package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
  45. package/dist/assets/ic-checkbox-selected.c5539d6f.svg +0 -20
  46. package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
  47. package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +0 -19
  48. package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
  49. package/dist/assets/ic-disconnect.26bad827.svg +0 -3
  50. package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
  51. package/dist/assets/ic-gift-gradient.7690a246.svg +0 -9
  52. package/dist/assets/ic-gift.9b048fc7.svg +0 -3
  53. package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
  54. package/dist/assets/ic-google-gke.07314724.svg +0 -9
  55. package/dist/assets/ic-install.28c3beec.svg +0 -3
  56. package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
  57. package/dist/assets/ic-kind.bd8ee992.svg +0 -9
  58. package/dist/assets/ic-laptop.485e21b4.svg +0 -3
  59. package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
  60. package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
  61. package/dist/assets/ic-mobile.7c649251.svg +0 -4
  62. package/dist/assets/ic-sparkle-color.01c0be88.svg +0 -1
  63. package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
  64. package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
  65. 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
+ }
@@ -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;
@@ -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",
@@ -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,24 +42,19 @@ 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
49
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
50
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
51
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
52
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
- 'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
- 'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
53
  'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
54
  'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
55
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
56
  'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
57
  'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
- 'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
58
  'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
59
  'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
60
  'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -79,13 +68,9 @@ export declare const iconMap: {
79
68
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
80
69
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
81
70
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
82
- 'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
71
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
84
- 'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
85
72
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
86
73
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
- 'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
- 'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
74
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
90
75
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
91
76
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -94,12 +79,9 @@ export declare const iconMap: {
94
79
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
80
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
81
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
- 'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
82
  'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
83
  'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
100
- 'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
84
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
- 'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
103
85
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
104
86
  'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
105
87
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -119,7 +101,6 @@ export declare const iconMap: {
119
101
  'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
120
102
  'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
121
103
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
122
- 'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
123
104
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
124
105
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
106
  'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -132,13 +113,10 @@ export declare const iconMap: {
132
113
  'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
133
114
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
115
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
- 'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
116
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
- 'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
138
117
  'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
118
  'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
140
119
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
141
- 'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
142
120
  };
143
121
  export type IconName = keyof typeof iconMap;
144
122
  export interface IconsProps extends Omit<IconBaseProps, 'name' | 'iconMap'> {
@@ -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
  /**
@@ -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
  */
@@ -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';
@@ -1,9 +1,8 @@
1
1
  import { DevtronLicenseDTO } from '../../types';
2
- import { DevtronLicenseCardProps, DevtronLicenseInfo, LicenseStatus } from './types';
2
+ import { DevtronLicenseInfo, LicenseStatus } from './types';
3
3
  export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
4
4
  bgColor: string;
5
5
  textColor: string;
6
6
  };
7
- export declare const parseDevtronLicenseDTOIntoLicenseCardData: <isCentralDashboard extends boolean = false>(licenseDTO: DevtronLicenseDTO<isCentralDashboard>, currentUserEmail?: isCentralDashboard extends true ? string : never) => Omit<DevtronLicenseCardProps, "appTheme">;
8
7
  export declare const parseDevtronLicenseData: (result: DevtronLicenseDTO) => DevtronLicenseInfo;
9
8
  export declare const getGateKeeperUrl: (fingerprint: string) => string;
@@ -1,7 +1,7 @@
1
1
  import { SEVERITIES } from './constants';
2
2
  import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
3
3
  export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
4
- color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--Y500)" | "var(--G500)" | "var(--R700)";
4
+ color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--G500)" | "var(--Y500)" | "var(--R700)";
5
5
  label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
6
6
  value: number;
7
7
  }[];
@@ -3,6 +3,7 @@ export * from './ActionMenu';
3
3
  export * from './ActivityIndicator';
4
4
  export * from './AnimatedDeployButton';
5
5
  export * from './AnimatedTimer';
6
+ export * from './AnnouncementBanner';
6
7
  export * from './APIResponseHandler';
7
8
  export * from './ArtifactInfoModal';
8
9
  export * from './Backdrop';
@@ -1,5 +1,5 @@
1
1
  export * from './ImageSelectionUtility';
2
2
  export * from './MainContextProvider';
3
3
  export * from './ThemeProvider';
4
- export type { MainContext, ReloadVersionConfigTypes } from './types';
4
+ export type { MainContext } from './types';
5
5
  export * from './UserEmailProvider';
@@ -1,16 +1,7 @@
1
1
  import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
2
2
  import { SERVER_MODE } from '../../Common';
3
3
  import { ServerInfo } from '../Components/Header/types';
4
- import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '..';
5
- export interface ReloadVersionConfigTypes {
6
- bgUpdated: boolean;
7
- handleAppUpdate: () => void;
8
- doesNeedRefresh: boolean;
9
- updateServiceWorker: () => Promise<void>;
10
- handleControllerChange: () => void;
11
- updateToastRef: MutableRefObject<ReturnType<typeof ToastManager.showToast>> | null;
12
- isRefreshing: boolean;
13
- }
4
+ import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType } from '..';
14
5
  export interface MainContext {
15
6
  serverMode: SERVER_MODE;
16
7
  setServerMode: (serverMode: SERVER_MODE) => void;
@@ -55,7 +46,6 @@ export interface MainContext {
55
46
  licenseData: DevtronLicenseInfo;
56
47
  setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
57
48
  canFetchHelmAppStatus: boolean;
58
- reloadVersionConfig: ReloadVersionConfigTypes;
59
49
  intelligenceConfig: IntelligenceConfig;
60
50
  setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
61
51
  }
@@ -1,6 +1,5 @@
1
- import { DeploymentNodeType, OptionType } from '../Common/Types';
2
- import { InfoBlockProps } from './Components';
3
- import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType, IconBaseColorType } from './types';
1
+ import { OptionType } from '../Common/Types';
2
+ import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType } from './types';
4
3
  export declare const ARTIFACT_STATUS: {
5
4
  PROGRESSING: string;
6
5
  DEGRADED: string;
@@ -436,16 +435,3 @@ export declare const Routes: {
436
435
  };
437
436
  export declare const ENTERPRISE_SUPPORT_LINK = "enterprise@devtron.ai";
438
437
  export declare const INVALID_LICENSE_KEY = "inValid";
439
- export declare enum InfoBlockVariant {
440
- ERROR = "error",
441
- HELP = "help",
442
- INFORMATION = "information",
443
- SUCCESS = "success",
444
- WARNING = "warning",
445
- NEUTRAL = "neutral"
446
- }
447
- export type InfoBlockVariantType = 'error' | 'help' | 'information' | 'success' | 'warning' | 'neutral';
448
- export declare const VARIANT_TO_BG_MAP: Record<InfoBlockProps['variant'], string>;
449
- export declare const VARIANT_TO_ICON_COLOR_MAP: Record<InfoBlockProps['variant'], IconBaseColorType>;
450
- export declare const VARIANT_TO_BORDER_MAP: Record<InfoBlockProps['variant'], string>;
451
- export declare const DEPLOYMENT_STAGE_TO_NODE_MAP: Readonly<Record<DeploymentStageType, DeploymentNodeType>>;