@devtron-labs/devtron-fe-common-lib 1.13.0-beta-6 → 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 (172) hide show
  1. package/dist/{@code-editor-C1z5nDQW.js → @common-rjsf-CsUgIJpt.js} +19409 -19853
  2. package/dist/{@framer-motion-eB9Rj-_8.js → @framer-motion-CR14HVwJ.js} +1 -1
  3. package/dist/{@react-dates-CJpoumtu.js → @react-dates-z_WnuIha.js} +1 -1
  4. package/dist/{@react-select-CUbAbK6L.js → @react-select-C1KOG39W.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-Ckb5S1RC.js → @react-virtualized-sticky-tree-DE3LznCK.js} +1 -1
  6. package/dist/{@vendor-4cEd9dja.js → @vendor-0Z6AwxJy.js} +15522 -15522
  7. package/dist/Common/Checkbox.d.ts +5 -0
  8. package/dist/Common/Common.service.d.ts +2 -2
  9. package/dist/Common/Constants.d.ts +2 -2
  10. package/dist/Common/Helper.d.ts +1 -5
  11. package/dist/Common/RJSF/Form.d.ts +1 -1
  12. package/dist/Common/Toggle/Toggle.d.ts +1 -4
  13. package/dist/Common/Types.d.ts +2 -4
  14. package/dist/Common/index.d.ts +3 -2
  15. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  16. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
  17. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  18. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  19. package/dist/Pages/ResourceBrowser/types.d.ts +0 -38
  20. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -1
  21. package/dist/Shared/Components/ActionMenu/ActionMenuOption.d.ts +3 -0
  22. package/dist/Shared/Components/ActionMenu/index.d.ts +2 -2
  23. package/dist/Shared/Components/ActionMenu/types.d.ts +11 -88
  24. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
  25. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
  26. package/dist/Shared/Components/Button/types.d.ts +1 -3
  27. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
  28. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  29. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  30. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +2 -0
  31. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
  32. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  33. package/dist/Shared/Components/CICDHistory/service.d.ts +0 -3
  34. package/dist/Shared/Components/CICDHistory/types.d.ts +76 -10
  35. package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -7
  36. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
  37. package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
  38. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  39. package/dist/Shared/Components/Error/types.d.ts +0 -4
  40. package/dist/Shared/Components/Error/utils.d.ts +0 -1
  41. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  42. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +3 -1
  43. package/dist/Shared/Components/Header/HelpNav.d.ts +3 -0
  44. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  45. package/dist/Shared/Components/Header/constants.d.ts +4 -5
  46. package/dist/Shared/Components/Header/types.d.ts +10 -15
  47. package/dist/Shared/Components/Header/utils.d.ts +1 -5
  48. package/dist/Shared/Components/Icon/Icon.d.ts +10 -35
  49. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  50. package/dist/Shared/Components/Icon/types.d.ts +8 -30
  51. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
  52. package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
  53. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  54. package/dist/Shared/Components/License/index.d.ts +1 -1
  55. package/dist/Shared/Components/License/utils.d.ts +1 -2
  56. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  57. package/dist/Shared/Components/LoginBanner/index.d.ts +0 -2
  58. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  59. package/dist/Shared/Components/SelectPicker/common.d.ts +0 -2
  60. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -1
  61. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -4
  62. package/dist/Shared/Components/StatusComponent/types.d.ts +1 -2
  63. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
  64. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +7 -33
  65. package/dist/Shared/Components/index.d.ts +3 -2
  66. package/dist/Shared/Helpers.d.ts +2 -2
  67. package/dist/Shared/Providers/index.d.ts +1 -1
  68. package/dist/Shared/Providers/types.d.ts +1 -11
  69. package/dist/Shared/constants.d.ts +24 -18
  70. package/dist/Shared/types.d.ts +4 -110
  71. package/dist/assets/@common-rjsf.css +1 -1
  72. package/dist/assets/ic-charts.f41e185f.svg +19 -0
  73. package/dist/assets/ic-chat-circle-dots.e15514f8.svg +23 -0
  74. package/dist/assets/{ic-checkbox-unselected.ab91cdba.svg → ic-check-grey.f556e371.svg} +4 -2
  75. package/dist/assets/ic-disconnected.551d6161.svg +29 -0
  76. package/dist/assets/ic-discord-fill.1a1b291d.svg +19 -0
  77. package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
  78. package/dist/assets/ic-feedback.d32fa6b0.svg +19 -0
  79. package/dist/assets/ic-files.fc290dee.svg +19 -0
  80. package/dist/assets/ic-flask.d0624c30.svg +3 -0
  81. package/dist/assets/{ic-checkbox-selected.c5539d6f.svg → ic-k8s-job.f4414c10.svg} +3 -4
  82. package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
  83. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +22 -0
  84. package/dist/assets/{ic-caret-down-small.7c4f88bf.svg → ic-magnifying-glass.cf47bce0.svg} +1 -1
  85. package/dist/assets/{ic-checkbox-hover.93e8d66a.svg → ic-medal.a2e911f5.svg} +3 -4
  86. package/dist/assets/ic-megaphone.b9f9a901.svg +19 -0
  87. package/dist/assets/ic-onboarding.c98f9ef9.svg +19 -0
  88. package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
  89. package/dist/assets/ic-strategy-blue-green.0b348d03.svg +6 -0
  90. package/dist/assets/ic-strategy-canary.db010ee7.svg +5 -0
  91. package/dist/assets/ic-strategy-recreate.f0acddaa.svg +4 -0
  92. package/dist/assets/ic-strategy-rolling.1c356cdb.svg +6 -0
  93. package/dist/assets/{ic-checkbox-hover.0151d832.svg → ic-timeout-red.5eda1010.svg} +4 -3
  94. package/dist/index.d.ts +0 -3
  95. package/dist/index.js +851 -881
  96. package/package.json +1 -1
  97. package/dist/@common-rjsf-D695U3ed.js +0 -617
  98. package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
  99. package/dist/Common/Checkbox/index.d.ts +0 -1
  100. package/dist/Common/Drawer/index.d.ts +0 -1
  101. package/dist/Common/EmptyState/index.d.ts +0 -2
  102. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +0 -1
  103. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
  104. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +0 -2
  105. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +0 -275
  106. package/dist/Shared/Components/ActionMenu/utils.d.ts +0 -7
  107. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
  108. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
  109. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
  110. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +0 -3
  111. package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
  112. package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -3
  113. package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -4
  114. package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -78
  115. package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -8
  116. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +0 -10
  117. package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +0 -3
  118. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +0 -22
  119. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +0 -20
  120. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +0 -10
  121. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +0 -2
  122. package/dist/Shared/Components/Header/HelpButton.d.ts +0 -2
  123. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +0 -3
  124. package/dist/Shared/Components/Popover/Popover.component.d.ts +0 -8
  125. package/dist/Shared/Components/Popover/index.d.ts +0 -3
  126. package/dist/Shared/Components/Popover/types.d.ts +0 -105
  127. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +0 -2
  128. package/dist/Shared/Components/Popover/utils.d.ts +0 -92
  129. package/dist/assets/@code-editor.css +0 -1
  130. package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
  131. package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
  132. package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
  133. package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
  134. package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
  135. package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
  136. package/dist/assets/ic-celebration.77350694.svg +0 -238
  137. package/dist/assets/ic-chat-circle-online.51348da5.svg +0 -4
  138. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
  139. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
  140. package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
  141. package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
  142. package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
  143. package/dist/assets/ic-cluster.71ba9e26.svg +0 -3
  144. package/dist/assets/ic-delete-dots.5380e0d0.svg +0 -62
  145. package/dist/assets/ic-disconnect.26bad827.svg +0 -3
  146. package/dist/assets/ic-discord-fill.103b579a.svg +0 -3
  147. package/dist/assets/ic-edit.3249ed32.svg +0 -3
  148. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +0 -3
  149. package/dist/assets/ic-enterprise-tag.209dd129.svg +0 -43
  150. package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
  151. package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
  152. package/dist/assets/ic-file-edit.96a172c7.svg +0 -3
  153. package/dist/assets/ic-file.c3c45e13.svg +0 -3
  154. package/dist/assets/ic-files.b0ebea46.svg +0 -3
  155. package/dist/assets/ic-gift-gradient.7690a246.svg +0 -9
  156. package/dist/assets/ic-gift.9b048fc7.svg +0 -3
  157. package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
  158. package/dist/assets/ic-google-gke.07314724.svg +0 -9
  159. package/dist/assets/ic-install.28c3beec.svg +0 -3
  160. package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
  161. package/dist/assets/ic-kind.bd8ee992.svg +0 -9
  162. package/dist/assets/ic-laptop.485e21b4.svg +0 -3
  163. package/dist/assets/ic-man-on-rocket.7f67e914.svg +0 -94
  164. package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
  165. package/dist/assets/ic-megaphone-right.9d6bcd36.svg +0 -3
  166. package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
  167. package/dist/assets/ic-mobile.7c649251.svg +0 -4
  168. package/dist/assets/ic-path.d4fef3b0.svg +0 -3
  169. package/dist/assets/ic-sparkle-color.01c0be88.svg +0 -1
  170. package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
  171. package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
  172. package/dist/assets/ic-wifi-slash.d0390749.svg +0 -3
@@ -1,3 +1,5 @@
1
- import { HeaderWithCreateButtonProps } from './types';
1
+ export interface HeaderWithCreateButtonProps {
2
+ headerName: string;
3
+ }
2
4
  export declare const HeaderWithCreateButton: ({ headerName }: HeaderWithCreateButtonProps) => JSX.Element;
3
5
  export default HeaderWithCreateButton;
@@ -0,0 +1,3 @@
1
+ import { HelpNavType } from './types';
2
+ declare const HelpNav: ({ className, setShowHelpCard, serverInfo, fetchingServerInfo, setGettingStartedClicked, showHelpCard, }: HelpNavType) => JSX.Element;
3
+ export default HelpNav;
@@ -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;
@@ -1,5 +1,4 @@
1
- import { HelpButtonActionMenuProps } from './types';
2
- export declare const COMMON_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
3
- export declare const OSS_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
4
- export declare const ENTERPRISE_TRIAL_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
5
- export declare const ENTERPRISE_HELP_ACTION_MENU_ITEMS: HelpButtonActionMenuProps['options'][number]['items'];
1
+ import { HelpOptionType } from './types';
2
+ export declare const EnterpriseHelpOptions: HelpOptionType[];
3
+ export declare const OSSHelpOptions: HelpOptionType[];
4
+ export declare const TrialHelpOptions: HelpOptionType[];
@@ -1,6 +1,5 @@
1
1
  import { ModuleStatus } from '../../types';
2
2
  import { ResponseType, TippyCustomizedProps } from '../../../Common';
3
- import { ActionMenuProps } from '../ActionMenu';
4
3
  export declare enum InstallationType {
5
4
  OSS_KUBECTL = "oss_kubectl",
6
5
  OSS_HELM = "oss_helm",
@@ -17,6 +16,7 @@ export interface PageHeaderType {
17
16
  showCloseButton?: boolean;
18
17
  onClose?: () => void;
19
18
  markAsBeta?: boolean;
19
+ showAnnouncementHeader?: boolean;
20
20
  tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
21
21
  isTippyCustomized?: boolean;
22
22
  tippyRedirectLink?: string;
@@ -34,21 +34,16 @@ export interface ServerInfo {
34
34
  export interface ServerInfoResponse extends ResponseType {
35
35
  result?: ServerInfo;
36
36
  }
37
- export interface HelpButtonProps {
37
+ export interface HelpNavType {
38
+ className: string;
39
+ setShowHelpCard: React.Dispatch<React.SetStateAction<boolean>>;
38
40
  serverInfo: ServerInfo;
39
41
  fetchingServerInfo: boolean;
40
- onClick: () => void;
42
+ setGettingStartedClicked: (isClicked: boolean) => void;
43
+ showHelpCard: boolean;
41
44
  }
42
- export declare enum HelpMenuItems {
43
- GETTING_STARTED = "getting-started",
44
- VIEW_DOCUMENTATION = "view-documentation",
45
- JOIN_DISCORD_COMMUNITY = "join-discord-community",
46
- ABOUT_DEVTRON = "about-devtron",
47
- REQUEST_SUPPORT = "request-support",
48
- OPEN_NEW_TICKET = "open-new-ticket",
49
- VIEW_ALL_TICKETS = "view-all-tickets",
50
- GIVE_FEEDBACK = "give-feedback",
51
- CHAT_WITH_SUPPORT = "chat-with-support",
52
- RAISE_ISSUE_REQUEST = "raise-issue-request"
45
+ export interface HelpOptionType {
46
+ name: string;
47
+ link: string;
48
+ icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
53
49
  }
54
- export type HelpButtonActionMenuProps = ActionMenuProps<HelpMenuItems>;
@@ -1,10 +1,6 @@
1
1
  import { DevtronLicenseInfo } from '../License';
2
- import { HelpButtonActionMenuProps } from './types';
3
2
  export declare const getDateInMilliseconds: (days: any) => number;
4
3
  export declare const handlePostHogEventUpdate: (eventName: string) => Promise<void>;
5
4
  export declare const setActionWithExpiry: (key: string, days: number) => void;
6
5
  export declare const getIsShowingLicenseData: (licenseData: DevtronLicenseInfo) => boolean;
7
- export declare const getHelpActionMenuOptions: ({ isEnterprise, isTrial, }: {
8
- isEnterprise: boolean;
9
- isTrial: boolean;
10
- }) => HelpButtonActionMenuProps["options"];
6
+ export declare const getHelpOptions: (isEnterprise: boolean, isTrial: boolean) => import('./types').HelpOptionType[];
@@ -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,12 +19,9 @@ 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
- 'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
31
25
  'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
32
26
  'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
27
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -36,8 +30,6 @@ export declare const iconMap: {
36
30
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
37
31
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
38
32
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
39
- 'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
- 'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
33
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
34
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
35
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -45,38 +37,26 @@ export declare const iconMap: {
45
37
  'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
46
38
  'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
39
  'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
- 'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
40
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
41
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
42
  'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
43
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
44
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
- 'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
- 'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
45
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
46
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
- 'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
- 'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
- 'ic-enterprise-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
47
  'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
62
48
  'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
- 'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
- 'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
49
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
- 'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
+ 'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
51
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
- 'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
- 'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
+ 'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
53
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
54
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
- 'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
73
- 'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
74
55
  'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
56
  'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
57
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
58
  'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
59
  'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
79
- 'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
80
60
  'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
81
61
  'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
82
62
  'ic-hand-pointing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -90,27 +70,22 @@ export declare const iconMap: {
90
70
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
91
71
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
92
72
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
93
- 'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
94
73
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
- 'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
74
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
75
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
- 'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
- 'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
100
76
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
+ 'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
78
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
79
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
103
80
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
81
+ 'ic-login-devtron-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
104
82
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
83
+ 'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
105
84
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
106
85
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
107
- 'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
108
- 'ic-megaphone-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
109
86
  'ic-memory': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
110
87
  'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
111
- 'ic-minikube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
88
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
- 'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
89
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
90
  'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
91
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -120,8 +95,8 @@ export declare const iconMap: {
120
95
  'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
121
96
  'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
122
97
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
123
- 'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
124
98
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
+ 'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
100
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
126
101
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
127
102
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -131,10 +106,13 @@ export declare const iconMap: {
131
106
  'ic-sort-ascending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
132
107
  'ic-sort-descending': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
133
108
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
- 'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
109
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
110
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
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>>;
138
116
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
117
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
140
118
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -144,13 +122,10 @@ export declare const iconMap: {
144
122
  'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
145
123
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
146
124
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
147
- 'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
148
125
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
149
- 'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
150
126
  'ic-user-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
151
127
  'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
152
128
  'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
153
- 'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
154
129
  };
155
130
  export type IconName = keyof typeof iconMap;
156
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, rotateBy, fillSpace, }: IconBaseProps) => JSX.Element;
2
+ export declare const IconBase: ({ name, iconMap, size, tooltipProps, color }: IconBaseProps) => JSX.Element;
@@ -3,44 +3,22 @@ import { TooltipProps } from '@Common/Tooltip/types';
3
3
  import { IconBaseColorType, IconBaseSizeType } from '../../index';
4
4
  type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
5
5
  export interface IconBaseProps {
6
- /**
7
- * The name of the icon to render.
8
- */
6
+ /** The name of the icon to render. */
9
7
  name: keyof IconMap;
10
- /**
11
- * A map containing all available icons.
12
- */
8
+ /** The map containing all available icons. */
13
9
  iconMap: IconMap;
14
10
  /**
15
- * The size of the icon in pixels. If not provided, the default size is `16px`.
16
- *
11
+ * The size of the icon in pixels.
17
12
  * @default 16
18
13
  */
19
- size?: IconBaseSizeType | null;
20
- /**
21
- * Configuration for the tooltip displayed when hovering over the icon.
22
- */
14
+ size?: IconBaseSizeType;
15
+ /** Props to configure the tooltip when hovering over the icon. */
23
16
  tooltipProps?: TooltipProps;
24
17
  /**
25
- * The color of the icon, specified using predefined color tokens.
26
- * If set to `null`, the icon's default color will be used.
27
- *
28
- * @example 'B500', 'N200', 'G50', 'R700'
18
+ * The color of the icon (color tokens). \
19
+ * If `null`, the default color present in icon is used.
20
+ * @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
29
21
  */
30
22
  color: IconBaseColorType;
31
- /**
32
- * A unique identifier for testing purposes, typically used in test automation.
33
- */
34
- dataTestId?: string;
35
- /**
36
- * Rotates the icon by the specified number of degrees.
37
- *
38
- * @example 90, 180, 270
39
- */
40
- rotateBy?: number;
41
- /**
42
- * If true, the icon will expand to fill the available space of its container.
43
- */
44
- fillSpace?: boolean;
45
23
  }
46
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';
@@ -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;
@@ -0,0 +1,5 @@
1
+ interface LoadingCardType {
2
+ wider?: boolean;
3
+ }
4
+ declare const LoadingCard: ({ wider }: LoadingCardType) => JSX.Element;
5
+ export default LoadingCard;
@@ -1,3 +1 @@
1
- export { TESTIMONIAL_CARD_DATA } from './constants';
2
1
  export { default as LoginBanner } from './LoginBanner';
3
- export { default as TestimonialContent } from './Testimonials.components';
@@ -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
  }[];
@@ -8,10 +8,8 @@ export declare const SelectPickerControl: <OptionValue>(props: ControlProps<Sele
8
8
  export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
9
9
  export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
10
10
  export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
11
- export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => JSX.Element;
12
11
  export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
13
12
  export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
14
13
  export declare const SelectPickerMultiValueRemove: (props: MultiValueRemoveProps) => JSX.Element;
15
14
  export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => JSX.Element;
16
15
  export declare const renderLoadingMessage: () => JSX.Element;
17
- export declare const ValueContainerWithLoadingShimmer: (props: ValueContainerProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- export { ValueContainerWithLoadingShimmer } from './common';
2
1
  export { default as FilterSelectPicker } from './FilterSelectPicker';
3
2
  export { default as SelectPicker } from './SelectPicker.component';
4
3
  export * from './SelectPickerTextArea.component';
@@ -40,10 +40,6 @@ type MenuListFooterConfigType = {
40
40
  buttonProps: {
41
41
  variant: ButtonVariantType.primary | ButtonVariantType.borderLess;
42
42
  } & Omit<ButtonProps<ButtonComponentType>, 'size' | 'fullWidth' | 'icon' | 'endIcon' | 'variant' | 'style'>;
43
- } | {
44
- type: 'customNode';
45
- value: ReactElement;
46
- buttonProps?: never;
47
43
  };
48
44
  declare module 'react-select/base' {
49
45
  interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
@@ -16,8 +16,7 @@ export declare enum StatusType {
16
16
  PROGRESSING = "PROGRESSING",
17
17
  INPROGRESS = "INPROGRESS",
18
18
  HIBERNATING = "HIBERNATING",
19
- TIMED_OUT = "TIMED_OUT",
20
- DELETING = "DELETING"
19
+ TIMED_OUT = "TIMED_OUT"
21
20
  }
22
21
  export interface StatusComponentProps {
23
22
  /** The status to display, either a predefined StatusType or a custom string. */
@@ -1,5 +1,5 @@
1
1
  import { TabGroupProps, TabProps } from './TabGroup.types';
2
- export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, iconElement, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active" | "iconElement"> & Pick<TabGroupProps, "size"> & {
2
+ export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active"> & Pick<TabGroupProps, "size"> & {
3
3
  className: string;
4
4
  }) => JSX.Element;
5
5
  export declare const getTabBadge: (badge: TabProps["badge"], className: string) => JSX.Element;
@@ -65,38 +65,6 @@ type TabTooltipProps = {
65
65
  shouldWrapTooltip?: never;
66
66
  tooltipProps?: never;
67
67
  };
68
- /**
69
- * Represents the properties for defining an icon in a tab group.
70
- * This type allows for three configurations:
71
- *
72
- * 1. **Icon as a functional component or string**:
73
- * - Use the `icon` property to specify either a functional component that renders an SVG or a string representing the name of the icon.
74
- * - The `iconElement` property must not be provided in this case.
75
- *
76
- * 2. **Icon as a JSX element**:
77
- * - Use the `iconElement` property to specify a JSX element representing the icon.
78
- * - The `icon` property must not be provided in this case.
79
- *
80
- * 3. **No icon**:
81
- * - Neither `icon` nor `iconElement` is provided, resulting in no icon being displayed.
82
- *
83
- */
84
- type TabGroupIconProp = {
85
- /**
86
- * A functional component rendering an SVG or a string representing the icon name. Mutually exclusive with `iconElement`.
87
- */
88
- icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>> | IconName;
89
- iconElement?: never;
90
- } | {
91
- icon?: never;
92
- /**
93
- * A JSX element representing the icon. Mutually exclusive with `icon`.
94
- */
95
- iconElement: JSX.Element;
96
- } | {
97
- icon?: never;
98
- iconElement?: never;
99
- };
100
68
  export type TabProps = {
101
69
  /**
102
70
  * Unique identifier for the tab.
@@ -111,6 +79,12 @@ export type TabProps = {
111
79
  * @note - If passed as a `string[]`, it will be rendered with a bullet in-between strings.
112
80
  */
113
81
  description?: string | string[];
82
+ /**
83
+ * Icon to be displayed in the tab.
84
+ * This can either be a functional component that renders a SVG
85
+ * or a string representing the name of the icon to be rendered by the Icon component.
86
+ */
87
+ icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>> | IconName;
114
88
  /**
115
89
  * Badge number to be displayed on the tab, typically for notifications.
116
90
  */
@@ -133,7 +107,7 @@ export type TabProps = {
133
107
  * Disables the tab, preventing interaction and indicating an inactive state.
134
108
  */
135
109
  disabled?: boolean;
136
- } & ConditionalTabType & TabTooltipProps & TabGroupIconProp;
110
+ } & ConditionalTabType & TabTooltipProps;
137
111
  export interface TabGroupProps {
138
112
  /**
139
113
  * Array of tabs to be rendered.
@@ -3,8 +3,8 @@ 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
- export * from './AppStatusModal';
8
8
  export * from './ArtifactInfoModal';
9
9
  export * from './Backdrop';
10
10
  export * from './BulkOperations';
@@ -24,12 +24,12 @@ export * from './CountrySelect';
24
24
  export * from './CustomInput';
25
25
  export * from './DatePicker';
26
26
  export * from './DeploymentConfigDiff';
27
- export * from './DeploymentStatusBreakdown';
28
27
  export * from './DetectBottom';
29
28
  export * from './DiffViewer';
30
29
  export * from './DynamicDataTable';
31
30
  export * from './EditableTextArea';
32
31
  export * from './EditImageFormField';
32
+ export * from './EnterpriseTag';
33
33
  export * from './EnvironmentSelector';
34
34
  export * from './Error';
35
35
  export * from './ExcludedImageNode';
@@ -56,6 +56,7 @@ export * from './InfoIconTippy';
56
56
  export * from './InvalidYAMLTippy';
57
57
  export * from './KeyValueTable';
58
58
  export * from './License';
59
+ export { default as LoadingCard } from './LoadingCard';
59
60
  export * from './LoginBanner';
60
61
  export * from './MaterialHistory';
61
62
  export * from './ModalSidebarPanel';
@@ -4,7 +4,7 @@ import { StrictRJSFSchema } from '@rjsf/utils';
4
4
  import { Pair } from 'yaml';
5
5
  import { MaterialHistoryType } from '@Shared/Services/app.types';
6
6
  import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
7
- import { AggregatedNodes, PodMetadatum } from './Components';
7
+ import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
8
8
  import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
9
9
  interface HighlightSearchTextProps {
10
10
  /**
@@ -36,6 +36,7 @@ export declare const isNullOrUndefined: (value: unknown) => boolean;
36
36
  export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
37
37
  export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
38
38
  export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
39
+ export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
39
40
  export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
40
41
  export declare const decode: (data: any, isEncoded?: boolean) => {};
41
42
  export declare const isTimeStringAvailable: (time: string) => boolean;
@@ -100,5 +101,4 @@ export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig
100
101
  }) => string;
101
102
  export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, topClassName?: string) => string;
102
103
  export declare const clearCookieOnLogout: () => void;
103
- export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
104
104
  export {};
@@ -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
  }