@devtron-labs/devtron-fe-common-lib 1.14.1 → 1.14.2-beta-1

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/{@code-editor-Da2XaRcI.js → @code-editor-D2FCACeW.js} +11308 -10863
  2. package/dist/{@common-rjsf-CK-nXKwn.js → @common-rjsf-4u0wap1S.js} +2 -2
  3. package/dist/{@framer-motion-DyOLEeMN.js → @framer-motion-Dchiw-Rb.js} +3 -3
  4. package/dist/{@react-dates-B7d8RWU9.js → @react-dates-D5kydtW-.js} +14 -14
  5. package/dist/{@react-select-Coo19Q6a.js → @react-select-Cmser7OI.js} +6 -6
  6. package/dist/{@react-virtualized-sticky-tree-BPjPJDIR.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
  7. package/dist/{@vendor-D9q4wrnL.js → @vendor-STJ9h0oI.js} +13875 -15779
  8. package/dist/Common/Constants.d.ts +5 -11
  9. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  10. package/dist/Common/SegmentedControl/types.d.ts +3 -2
  11. package/dist/Common/TippyCustomized.d.ts +1 -1
  12. package/dist/Common/Types.d.ts +10 -7
  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/ActionMenu/types.d.ts +31 -4
  16. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +4 -2
  17. package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
  18. package/dist/Shared/Components/Button/constants.d.ts +1 -0
  19. package/dist/Shared/Components/Button/types.d.ts +14 -1
  20. package/dist/Shared/Components/Button/utils.d.ts +1 -1
  21. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  22. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
  23. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
  24. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  25. package/dist/Shared/Components/CodeEditor/Extensions/findAndReplace.d.ts +2 -1
  26. package/dist/Shared/Components/CodeEditor/types.d.ts +14 -1
  27. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -2
  28. package/dist/Shared/Components/DocLink/DocLink.d.ts +2 -0
  29. package/dist/Shared/Components/DocLink/constants.d.ts +94 -0
  30. package/dist/Shared/Components/DocLink/index.d.ts +4 -0
  31. package/dist/Shared/Components/DocLink/types.d.ts +18 -0
  32. package/dist/Shared/Components/DocLink/utils.d.ts +2 -0
  33. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  34. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  35. package/dist/Shared/Components/DynamicDataTable/types.d.ts +8 -4
  36. package/dist/Shared/Components/FeatureDescription/types.d.ts +2 -1
  37. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -3
  38. package/dist/Shared/Components/GenericInfoCard/GenericInfoCardListing.d.ts +2 -0
  39. package/dist/Shared/Components/GenericInfoCard/GenericInfoListSkeleton.d.ts +2 -0
  40. package/dist/Shared/Components/GenericInfoCard/index.d.ts +3 -1
  41. package/dist/Shared/Components/GenericInfoCard/types.d.ts +13 -0
  42. package/dist/Shared/Components/Header/ProfileMenu.d.ts +2 -0
  43. package/dist/Shared/Components/Header/types.d.ts +8 -8
  44. package/dist/Shared/Components/Header/utils.d.ts +0 -2
  45. package/dist/Shared/Components/Icon/Icon.d.ts +27 -0
  46. package/dist/Shared/Components/Icon/types.d.ts +2 -2
  47. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  48. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  49. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -1
  50. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  51. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +2 -1
  52. package/dist/Shared/Components/NumbersCount/index.d.ts +1 -0
  53. package/dist/Shared/Components/Popover/Popover.component.d.ts +1 -1
  54. package/dist/Shared/Components/Popover/types.d.ts +5 -3
  55. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  56. package/dist/Shared/Components/StatusComponent/AppStatus.d.ts +1 -1
  57. package/dist/Shared/Components/Switch/Switch.component.d.ts +3 -0
  58. package/dist/Shared/Components/Switch/constants.d.ts +14 -0
  59. package/dist/Shared/Components/Switch/index.d.ts +2 -0
  60. package/dist/Shared/Components/Switch/types.d.ts +102 -0
  61. package/dist/Shared/Components/Switch/utils.d.ts +12 -0
  62. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +3 -0
  63. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +2 -0
  64. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +35 -0
  65. package/dist/Shared/Components/ThemeSwitcher/ThemeSwitcher.component.d.ts +1 -1
  66. package/dist/Shared/Components/ThemeSwitcher/index.d.ts +0 -1
  67. package/dist/Shared/Components/ThemeSwitcher/types.d.ts +1 -1
  68. package/dist/Shared/Components/index.d.ts +4 -1
  69. package/dist/Shared/Helpers.d.ts +1 -0
  70. package/dist/Shared/Providers/index.d.ts +1 -1
  71. package/dist/Shared/Providers/types.d.ts +20 -0
  72. package/dist/Shared/constants.d.ts +1 -0
  73. package/dist/Shared/types.d.ts +28 -0
  74. package/dist/Shared/validations.d.ts +1 -0
  75. package/dist/assets/@code-editor.css +1 -1
  76. package/dist/assets/empty-create.661d9355.png +0 -0
  77. package/dist/assets/ic-app-template.82736707.svg +23 -0
  78. package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
  79. package/dist/assets/ic-checkbox-selected-error.185fc40c.svg +4 -0
  80. package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-checkbox-selected-error.b40237bc.svg} +3 -2
  81. package/dist/assets/ic-devtron-app.a8b688d3.svg +23 -0
  82. package/dist/assets/ic-devtron-job.1b216232.svg +10 -0
  83. package/dist/assets/ic-email.78fed574.svg +3 -0
  84. package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
  85. package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
  86. package/dist/assets/ic-filter.d6f03b78.svg +3 -0
  87. package/dist/assets/ic-flask.d0624c30.svg +3 -0
  88. package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
  89. package/dist/assets/{ic-arrow-square-out.3d1a0d41.svg → ic-hibernate.263ffcea.svg} +2 -2
  90. package/dist/assets/ic-key-enter.59d23056.svg +3 -0
  91. package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
  92. package/dist/assets/ic-magnifying-glass.cf47bce0.svg +3 -0
  93. package/dist/assets/ic-mechanical-operation.04a318d6.svg +17 -0
  94. package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
  95. package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
  96. package/dist/assets/ic-rocket-gear.f1e30f8a.svg +3 -0
  97. package/dist/assets/ic-spray-can.624b202a.svg +3 -0
  98. package/dist/assets/ic-strategy-blue-green-color.0b348d03.svg +6 -0
  99. package/dist/assets/ic-strategy-blue-green.4e57a068.svg +3 -0
  100. package/dist/assets/ic-strategy-canary-color.db010ee7.svg +5 -0
  101. package/dist/assets/ic-strategy-canary.aa75f27f.svg +3 -0
  102. package/dist/assets/ic-strategy-recreate-color.187facd4.svg +4 -0
  103. package/dist/assets/ic-strategy-recreate.77b19a53.svg +3 -0
  104. package/dist/assets/ic-strategy-rolling-color.f9b3c0bb.svg +6 -0
  105. package/dist/assets/ic-strategy-rolling.ba8a30f7.svg +3 -0
  106. package/dist/assets/ic-sun.47c14f53.svg +3 -0
  107. package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
  108. package/dist/index.d.ts +6 -0
  109. package/dist/index.js +797 -786
  110. package/package.json +3 -4
  111. package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +0 -41
  112. package/dist/Shared/Components/DiffViewer/constants.d.ts +0 -2
  113. package/dist/Shared/Components/DiffViewer/index.d.ts +0 -1
  114. package/dist/Shared/Components/DiffViewer/types.d.ts +0 -9
  115. package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +0 -2
  116. package/dist/Shared/Components/LogoutCard.d.ts +0 -10
  117. package/dist/assets/ic-mechanical-operation.3c3f4672.svg +0 -76
@@ -1,5 +1,8 @@
1
1
  import { MouseEventHandler, ReactElement } from 'react';
2
2
  import { LinkProps } from 'react-router-dom';
3
+ import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
4
+ import { GenericEmptyStateType } from '../../../Common/Types';
5
+ import { APIResponseHandlerProps } from '../APIResponseHandler';
3
6
  type BaseGenericInfoCardProps = {
4
7
  title: string;
5
8
  description: string;
@@ -23,4 +26,14 @@ export type GenericInfoCardProps = {
23
26
  } & Partial<Record<keyof BaseGenericInfoCardProps, never>>) | ({
24
27
  isLoading?: boolean;
25
28
  } & BaseGenericInfoCardProps));
29
+ export interface GenericInfoCardListingProps extends Pick<GenericInfoCardProps, 'borderVariant'>, Pick<GenericFilterEmptyStateProps, 'handleClearFilters'> {
30
+ list: (Pick<GenericInfoCardProps, 'Icon' | 'author' | 'description' | 'linkProps' | 'onClick' | 'title'> & Record<'id', string>)[];
31
+ emptyStateConfig: Pick<GenericEmptyStateType, 'title' | 'subTitle' | 'image' | 'renderButton' | 'renderButton'>;
32
+ searchKey?: string;
33
+ reloadList: () => void;
34
+ error?: APIResponseHandlerProps['error'];
35
+ isLoading?: boolean;
36
+ }
37
+ export interface GenericInfoListSkeletonProps extends Partial<Pick<GenericInfoCardProps, 'borderVariant'>> {
38
+ }
26
39
  export {};
@@ -0,0 +1,2 @@
1
+ import { ProfileMenuProps } from './types';
2
+ export declare const ProfileMenu: ({ user, onClick }: ProfileMenuProps) => JSX.Element;
@@ -1,11 +1,7 @@
1
- import { ModuleStatus } from '../../types';
1
+ import { InstallationType, ModuleStatus } from '../../types';
2
2
  import { ResponseType, TippyCustomizedProps } from '../../../Common';
3
3
  import { ActionMenuProps } from '../ActionMenu';
4
- export declare enum InstallationType {
5
- OSS_KUBECTL = "oss_kubectl",
6
- OSS_HELM = "oss_helm",
7
- ENTERPRISE = "enterprise"
8
- }
4
+ import { DOCUMENTATION } from '../DocLink';
9
5
  export interface PageHeaderType {
10
6
  headerName?: string;
11
7
  showTabs?: boolean;
@@ -17,9 +13,9 @@ export interface PageHeaderType {
17
13
  showCloseButton?: boolean;
18
14
  onClose?: () => void;
19
15
  markAsBeta?: boolean;
20
- tippyProps?: Pick<TippyCustomizedProps, 'additionalContent'> & {
16
+ tippyProps?: Pick<TippyCustomizedProps<false>, 'additionalContent'> & {
21
17
  isTippyCustomized?: boolean;
22
- tippyRedirectLink?: string;
18
+ tippyRedirectLink?: keyof typeof DOCUMENTATION;
23
19
  TippyIcon?: React.FunctionComponent<any>;
24
20
  tippyMessage?: string;
25
21
  onClickTippyButton?: () => void;
@@ -52,3 +48,7 @@ export declare enum HelpMenuItems {
52
48
  RAISE_ISSUE_REQUEST = "raise-issue-request"
53
49
  }
54
50
  export type HelpButtonActionMenuProps = ActionMenuProps<HelpMenuItems>;
51
+ export interface ProfileMenuProps {
52
+ user: string;
53
+ onClick?: () => void;
54
+ }
@@ -1,9 +1,7 @@
1
- import { DevtronLicenseInfo } from '../License';
2
1
  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
- export declare const getIsShowingLicenseData: (licenseData: DevtronLicenseInfo) => boolean;
7
5
  export declare const getHelpActionMenuOptions: ({ isEnterprise, isTrial, }: {
8
6
  isEnterprise: boolean;
9
7
  isTrial: boolean;
@@ -6,9 +6,11 @@ export declare const iconMap: {
6
6
  'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
7
7
  'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
8
  'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
+ 'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
10
  'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
11
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
12
  'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
+ 'ic-arrows-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
14
  'ic-arrows-left-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
15
  'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
14
16
  'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -49,13 +51,16 @@ export declare const iconMap: {
49
51
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
52
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
53
  'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
+ 'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
55
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
+ 'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
57
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
58
  'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
59
  'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
60
  'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
61
  'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
62
  'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
63
+ 'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
64
  'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
65
  'ic-enterprise-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
66
  'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -63,10 +68,14 @@ export declare const iconMap: {
63
68
  'ic-expand-right-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
69
  'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
70
  'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
+ 'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
72
  'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
73
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
74
  'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
75
  'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
+ 'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
+ 'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
+ 'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
70
79
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
71
80
  'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
72
81
  'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -86,6 +95,7 @@ export declare const iconMap: {
86
95
  'ic-helm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
87
96
  'ic-help-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
88
97
  'ic-help-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
+ 'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
89
99
  'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
90
100
  'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
91
101
  'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -94,14 +104,17 @@ export declare const iconMap: {
94
104
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
95
105
  'ic-k3s': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
96
106
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
107
+ 'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
97
108
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
98
109
  'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
99
110
  'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
100
111
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
+ 'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
113
  'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
114
  'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
103
115
  'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
104
116
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
117
+ 'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
105
118
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
106
119
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
107
120
  'ic-megaphone-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -112,6 +125,7 @@ export declare const iconMap: {
112
125
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
113
126
  'ic-mobile': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
114
127
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
128
+ 'ic-more-vertical': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
115
129
  'ic-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
116
130
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
117
131
  'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -122,8 +136,10 @@ export declare const iconMap: {
122
136
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
123
137
  'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
124
138
  'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
+ 'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
125
140
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
126
141
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
142
+ 'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
127
143
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
128
144
  'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
129
145
  'ic-shield-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -133,9 +149,19 @@ export declare const iconMap: {
133
149
  'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
134
150
  'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
135
151
  'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
152
+ 'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
136
153
  'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
137
154
  'ic-stamp': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
155
+ 'ic-strategy-blue-green-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
156
+ 'ic-strategy-blue-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
157
+ 'ic-strategy-canary-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
158
+ 'ic-strategy-canary': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
159
+ 'ic-strategy-recreate-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
160
+ 'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
161
+ 'ic-strategy-rolling-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
162
+ 'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
138
163
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
164
+ 'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
139
165
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
140
166
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
141
167
  'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -145,6 +171,7 @@ export declare const iconMap: {
145
171
  'ic-thumb-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
146
172
  'ic-timeout-dash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
147
173
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
174
+ 'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
148
175
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
149
176
  'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
150
177
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,6 +1,6 @@
1
1
  import { FC, SVGProps } from 'react';
2
- import { TooltipProps } from '@Common/Tooltip/types';
3
- import { IconBaseColorType, IconBaseSizeType } from '../../index';
2
+ import { TooltipProps } from '../../../Common/Tooltip';
3
+ import { IconBaseColorType, IconBaseSizeType } from '../../types';
4
4
  type IconMap = Record<string, FC<SVGProps<SVGSVGElement>>>;
5
5
  export interface IconBaseProps {
6
6
  /**
@@ -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: <T extends boolean = false>({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, buttonPadding, isExternalLink, openInNewTab, }: InfoIconTippyProps<T>) => JSX.Element;
3
3
  export default InfoIconTippy;
@@ -1,2 +1,2 @@
1
1
  import { KeyValueTableProps } from './KeyValueTable.types';
2
- export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed, readOnly, showError, validationSchema: parentValidationSchema, onError, validateDuplicateKeys, validateEmptyKeys, }: KeyValueTableProps) => JSX.Element;
2
+ export declare const KeyValueTable: ({ headerLabel, rows: initialRows, placeholder, maskValue, isSortable, headerComponent, onChange, isAdditionNotAllowed, shouldAutoFocusOnMount, readOnly, showError, validationSchema: parentValidationSchema, onError, validateDuplicateKeys, validateEmptyKeys, }: KeyValueTableProps) => JSX.Element;
@@ -55,7 +55,7 @@ export interface KeyValueTableData extends Pick<KeyValueTableRowType, 'id'> {
55
55
  /**
56
56
  * Props for the KeyValueTable component.
57
57
  */
58
- export type KeyValueTableProps = Pick<DynamicDataTableProps<KeyValueTableDataType>, 'isAdditionNotAllowed' | 'readOnly' | 'headerComponent'> & {
58
+ export type KeyValueTableProps = Pick<DynamicDataTableProps<KeyValueTableDataType>, 'isAdditionNotAllowed' | 'readOnly' | 'headerComponent' | 'shouldAutoFocusOnMount'> & {
59
59
  /**
60
60
  * The label for the table header.
61
61
  */
@@ -0,0 +1,5 @@
1
+ interface LoadingCardType {
2
+ wider?: boolean;
3
+ }
4
+ declare const LoadingCard: ({ wider }: LoadingCardType) => JSX.Element;
5
+ export default LoadingCard;
@@ -1,8 +1,9 @@
1
1
  import { ReactNode } from 'react';
2
+ import { DocLinkProps } from '../DocLink';
2
3
  export interface ModalSidebarPanelProps {
3
4
  rootClassName?: string;
4
5
  heading: string | null;
5
6
  icon?: JSX.Element;
6
7
  children?: ReactNode;
7
- documentationLink: string;
8
+ documentationLink: DocLinkProps['docLinkKey'];
8
9
  }
@@ -1 +1,2 @@
1
1
  export { default as NumbersCount } from './NumbersCount.component';
2
+ export * from './types';
@@ -5,4 +5,4 @@ import { PopoverProps } from './types';
5
5
  * @note Use this component in conjunction with the `usePopover` hook to create a custom popover component. \
6
6
  * For example, see the `ActionMenu` component for reference.
7
7
  */
8
- export declare const Popover: ({ open, popoverProps, overlayProps, triggerProps, buttonProps, triggerElement, children, }: PopoverProps) => JSX.Element;
8
+ export declare const Popover: ({ open, popoverProps, overlayProps, triggerProps: { bounds, ...triggerProps }, buttonProps, triggerElement, children, }: PopoverProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { DetailedHTMLProps, KeyboardEvent, MutableRefObject, ReactElement } from 'react';
1
+ import { DetailedHTMLProps, KeyboardEvent, LegacyRef, MutableRefObject, ReactElement } from 'react';
2
2
  import { HTMLMotionProps } from 'framer-motion';
3
3
  import { ButtonProps } from '../Button';
4
4
  export interface UsePopoverProps {
@@ -64,7 +64,9 @@ export interface UsePopoverReturnType {
64
64
  * Props to be spread onto the trigger element that opens the popover.
65
65
  * These props include standard HTML attributes for a `div` element.
66
66
  */
67
- triggerProps: DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
67
+ triggerProps: DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
68
+ bounds: Pick<DOMRect, 'left' | 'top' | 'height' | 'width'>;
69
+ };
68
70
  /**
69
71
  * Props to be spread onto the overlay element of the popover.
70
72
  * These props include standard HTML attributes for a `div` element.
@@ -81,7 +83,7 @@ export interface UsePopoverReturnType {
81
83
  * A mutable reference to the scrollable element inside the popover. \
82
84
  * This reference should be assigned to the element that is scrollable.
83
85
  */
84
- scrollableRef: MutableRefObject<HTMLElement>;
86
+ scrollableRef: MutableRefObject<any> | LegacyRef<any>;
85
87
  /**
86
88
  * A function to close the popover.
87
89
  */
@@ -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(--G500)" | "var(--Y500)" | "var(--R700)" | "var(--O500)";
5
5
  label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
6
6
  value: number;
7
7
  }[];
@@ -1,2 +1,2 @@
1
1
  import { AppStatusProps } from './types';
2
- export declare const AppStatus: ({ status, isJobView, isVirtualEnv, ...restProps }: AppStatusProps) => JSX.Element;
2
+ export declare const AppStatus: ({ status, isJobView, isVirtualEnv, hideMessage, ...restProps }: AppStatusProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { DTSwitchProps } from './types';
2
+ declare const Switch: ({ ariaLabel, isDisabled, isLoading, isChecked, tooltipContent, shape, variant, iconColor, iconName, indeterminate, size, name, onChange, }: DTSwitchProps) => JSX.Element;
3
+ export default Switch;
@@ -0,0 +1,14 @@
1
+ import { IconBaseColorType } from '../../types';
2
+ import { DTSwitchProps } from './types';
3
+ export declare const ROUNDED_SWITCH_SIZE_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
4
+ export declare const SQUARE_SWITCH_SIZE_MAP: typeof ROUNDED_SWITCH_SIZE_MAP;
5
+ export declare const SWITCH_HEIGHT_MAP: Readonly<Record<DTSwitchProps['size'], string>>;
6
+ export declare const LOADING_COLOR_MAP: Record<DTSwitchProps['variant'], IconBaseColorType>;
7
+ export declare const ROUNDED_SWITCH_TRACK_COLOR_MAP: Record<DTSwitchProps['variant'], string>;
8
+ export declare const ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP: Record<DTSwitchProps['variant'], `var(--${IconBaseColorType})`>;
9
+ export declare const SQUARE_SWITCH_TRACK_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_COLOR_MAP;
10
+ export declare const SQUARE_SWITCH_TRACK_HOVER_COLOR_MAP: typeof ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP;
11
+ export declare const ROUNDED_SWITCH_THUMB_SIZE_MAP: Record<DTSwitchProps['size'], string>;
12
+ export declare const INDETERMINATE_ICON_WIDTH_MAP: Record<DTSwitchProps['size'], string>;
13
+ export declare const SWITCH_THUMB_PADDING_MAP: Record<DTSwitchProps['size'], string>;
14
+ export declare const THUMB_OUTER_PADDING_MAP: Record<DTSwitchProps['shape'], string>;
@@ -0,0 +1,2 @@
1
+ export { default as DTSwitch } from './Switch.component';
2
+ export type { DTSwitchProps } from './types';
@@ -0,0 +1,102 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { ComponentSizeType } from '../../constants';
3
+ import { IconBaseColorType } from '../../types';
4
+ import { IconName } from '../Icon';
5
+ /**
6
+ * Represents the properties for configuring the shape and behavior of a switch component.
7
+ *
8
+ * - When `shape` is `rounded`:
9
+ * - The switch will have a rounded appearance.
10
+ * - `iconName`, `iconColor`, and `indeterminate` are not applicable.
11
+ *
12
+ * - When `shape` is `square`:
13
+ * - The switch will have a square appearance.
14
+ * - `iconName` specifies the name of the icon to display.
15
+ * - `iconColor` allows customization of the icon's color in the active state.
16
+ * - `indeterminate` indicates whether the switch is in an indeterminate state, typically used for checkboxes to represent a mixed state.
17
+ * If `indeterminate` is true, the switch will not be fully checked or unchecked.
18
+ */
19
+ type SwitchShapeProps = {
20
+ /**
21
+ * The shape of the switch. Defaults to `rounded` if not specified.
22
+ */
23
+ shape?: 'rounded';
24
+ /**
25
+ * Icon name is not applicable for the `rounded` shape.
26
+ */
27
+ iconName?: never;
28
+ /**
29
+ * Icon color is not applicable for the `rounded` shape.
30
+ */
31
+ iconColor?: never;
32
+ /**
33
+ * Indicates whether the switch is in an indeterminate state.
34
+ * This state is typically used for checkboxes to indicate a mixed state.
35
+ * If true, the switch will not be fully checked or unchecked. Due this state alone we are keeping role as `checkbox` instead of `switch`.
36
+ * This property is not applicable for the `square` shape.
37
+ * @default false
38
+ */
39
+ indeterminate?: boolean;
40
+ } | {
41
+ /**
42
+ * The shape of the switch. Must be `square` to enable icon-related properties.
43
+ */
44
+ shape: 'square';
45
+ /**
46
+ * The name of the icon to display when the shape is `square`.
47
+ */
48
+ iconName: IconName;
49
+ /**
50
+ * The color of the icon. If provided, this will override the default color in the active state.
51
+ */
52
+ iconColor?: IconBaseColorType;
53
+ indeterminate?: never;
54
+ };
55
+ /**
56
+ * Represents the properties for the `Switch` component.
57
+ */
58
+ export type DTSwitchProps = {
59
+ /**
60
+ * The ARIA label for the switch, used for accessibility purposes.
61
+ */
62
+ ariaLabel: string;
63
+ /**
64
+ * Used in forms to identify the switch.
65
+ */
66
+ name: string;
67
+ /**
68
+ * The visual variant of the switch.
69
+ *
70
+ * @default `positive`
71
+ */
72
+ variant?: 'theme' | 'positive';
73
+ /**
74
+ * The size of the switch.
75
+ * @default `ComponentSizeType.medium`
76
+ */
77
+ size?: Extract<ComponentSizeType, ComponentSizeType.medium | ComponentSizeType.small>;
78
+ /**
79
+ * Callback function that is called when the switch state changes.
80
+ * This function should handle the logic for toggling the switch.
81
+ */
82
+ onChange: ButtonHTMLAttributes<HTMLButtonElement>['onClick'];
83
+ /**
84
+ * Indicates whether the switch is disabled.
85
+ */
86
+ isDisabled?: boolean;
87
+ /**
88
+ * Indicates whether the switch is in a loading state.
89
+ */
90
+ isLoading?: boolean;
91
+ /**
92
+ * Indicates whether the switch is currently checked (on).
93
+ */
94
+ isChecked: boolean;
95
+ /**
96
+ * Optional tooltip content to display when hovering over the switch.
97
+ *
98
+ * @default undefined
99
+ */
100
+ tooltipContent?: string;
101
+ } & SwitchShapeProps;
102
+ export {};
@@ -0,0 +1,12 @@
1
+ import { IconBaseColorType } from '../../types';
2
+ import { ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP } from './constants';
3
+ import { DTSwitchProps } from './types';
4
+ export declare const getSwitchContainerClass: ({ shape, size }: Required<Pick<DTSwitchProps, "shape" | "size">>) => string;
5
+ export declare const getSwitchTrackColor: ({ shape, variant, isChecked, isLoading, }: Required<Pick<DTSwitchProps, "shape" | "variant" | "isChecked" | "isLoading">>) => string;
6
+ export declare const getSwitchTrackHoverColor: ({ shape, variant, isChecked, }: Required<Pick<DTSwitchProps, "shape" | "variant" | "isChecked">>) => (typeof ROUNDED_SWITCH_TRACK_HOVER_COLOR_MAP)[DTSwitchProps["variant"]];
7
+ export declare const getSwitchThumbClass: ({ shape, size, showIndeterminateIcon, }: Pick<DTSwitchProps, "shape" | "size"> & {
8
+ showIndeterminateIcon: boolean;
9
+ }) => string;
10
+ export declare const getSwitchIconColor: ({ iconColor, isChecked, variant, }: Pick<DTSwitchProps, "iconColor" | "isChecked" | "variant">) => IconBaseColorType;
11
+ export declare const getThumbPosition: ({ isLoading, isChecked, }: Pick<DTSwitchProps, "isLoading" | "isChecked">) => "left" | "right" | "center";
12
+ export declare const getThumbPadding: ({ shape, isLoading }: Pick<DTSwitchProps, "shape" | "isLoading">) => string;
@@ -0,0 +1,3 @@
1
+ import { SwitchThemeDialogProps } from './types';
2
+ declare const SwitchThemeDialog: ({ initialThemePreference, handleClose, handleUpdateUserThemePreference, disableAPICalls, }: SwitchThemeDialogProps) => JSX.Element;
3
+ export default SwitchThemeDialog;
@@ -0,0 +1,2 @@
1
+ export { default as SwitchThemeDialog } from './SwitchThemeDialog.component';
2
+ export * from './types';
@@ -0,0 +1,35 @@
1
+ import { AppThemeType, useTheme } from '../../Providers';
2
+ type ThemePreferenceType = ReturnType<typeof useTheme>['themePreference'];
3
+ export type SwitchThemeDialogProps = {
4
+ /**
5
+ * @description The initial theme preference of the user fetched from api, in case of error would be null
6
+ */
7
+ initialThemePreference: ThemePreferenceType;
8
+ handleUpdateUserThemePreference: (themePreference: ThemePreferenceType) => void;
9
+ handleClose: () => void;
10
+ } & ({
11
+ /**
12
+ * @default false
13
+ * @description Required for storybook
14
+ */
15
+ disableAPICalls?: false;
16
+ } | {
17
+ currentUserPreferences?: never;
18
+ disableAPICalls: true;
19
+ });
20
+ export interface ThemePreferenceOptionProps {
21
+ selectedThemePreference: SwitchThemeDialogProps['initialThemePreference'];
22
+ value: SwitchThemeDialogProps['initialThemePreference'];
23
+ handleChangedThemePreference: (themePreference: SwitchThemeDialogProps['initialThemePreference']) => void;
24
+ }
25
+ export interface ThemePreferenceLabelFigureProps extends Pick<ThemePreferenceOptionProps, 'value'> {
26
+ isSelected: boolean;
27
+ }
28
+ export interface BaseLabelFigureProps extends Pick<ThemePreferenceLabelFigureProps, 'isSelected'> {
29
+ value: AppThemeType;
30
+ /**
31
+ * @default false
32
+ */
33
+ noLeftRadius?: boolean;
34
+ }
35
+ export {};
@@ -1,3 +1,3 @@
1
1
  import { ThemeSwitcherProps } from './types';
2
- declare const ThemeSwitcher: ({ onChange }: ThemeSwitcherProps) => JSX.Element;
2
+ declare const ThemeSwitcher: ({ onClick }: ThemeSwitcherProps) => JSX.Element;
3
3
  export default ThemeSwitcher;
@@ -1,2 +1 @@
1
1
  export { default as ThemeSwitcher } from './ThemeSwitcher.component';
2
- export type { ThemeSwitcherProps } from './types';
@@ -1,3 +1,3 @@
1
1
  export interface ThemeSwitcherProps {
2
- onChange: () => void;
2
+ onClick?: () => void;
3
3
  }
@@ -26,7 +26,7 @@ export * from './DatePicker';
26
26
  export * from './DeploymentConfigDiff';
27
27
  export * from './DeploymentStatusBreakdown';
28
28
  export * from './DetectBottom';
29
- export * from './DiffViewer';
29
+ export * from './DocLink';
30
30
  export * from './DynamicDataTable';
31
31
  export * from './EditableTextArea';
32
32
  export * from './EditImageFormField';
@@ -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';
@@ -71,6 +72,8 @@ export * from './SelectPicker';
71
72
  export * from './ShowMoreText';
72
73
  export * from './SSOProviderIcon';
73
74
  export * from './StatusComponent';
75
+ export * from './Switch';
76
+ export * from './SwitchThemeDialog';
74
77
  export * from './TabGroup';
75
78
  export * from './Table';
76
79
  export * from './TagsKeyValueTable';
@@ -101,4 +101,5 @@ export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig
101
101
  export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, topClassName?: string) => string;
102
102
  export declare const clearCookieOnLogout: () => void;
103
103
  export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
104
+ export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
104
105
  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, ReloadVersionConfigTypes, SidePanelConfig } from './types';
5
5
  export * from './UserEmailProvider';
@@ -11,6 +11,14 @@ export interface ReloadVersionConfigTypes {
11
11
  updateToastRef: MutableRefObject<ReturnType<typeof ToastManager.showToast>> | null;
12
12
  isRefreshing: boolean;
13
13
  }
14
+ export interface SidePanelConfig {
15
+ /** Determines whether the side panel is visible */
16
+ open: boolean;
17
+ /** Optional flag to reset/reinitialize the side panel state */
18
+ reinitialize?: boolean;
19
+ /** URL to documentation that should be displayed in the panel */
20
+ docLink: string | null;
21
+ }
14
22
  export interface MainContext {
15
23
  serverMode: SERVER_MODE;
16
24
  setServerMode: (serverMode: SERVER_MODE) => void;
@@ -58,6 +66,18 @@ export interface MainContext {
58
66
  reloadVersionConfig: ReloadVersionConfigTypes;
59
67
  intelligenceConfig: IntelligenceConfig;
60
68
  setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
69
+ sidePanelConfig: SidePanelConfig;
70
+ setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
71
+ /**
72
+ * Indicates whether the current Devtron instance is running as an Enterprise edition. \
73
+ * This flag is determined based on server-side configuration.
74
+ */
75
+ isEnterprise: boolean;
76
+ /**
77
+ * Indicates whether the fe-lib modules are available in the current instance. \
78
+ * Used to conditionally render or enable features that depend on fe-lib
79
+ */
80
+ isFELibAvailable: boolean;
61
81
  }
62
82
  export interface MainContextProviderProps {
63
83
  children: ReactNode;
@@ -429,3 +429,4 @@ export declare const VARIANT_TO_BORDER_MAP: Record<InfoBlockProps['variant'], st
429
429
  export declare const DEPLOYMENT_STAGE_TO_NODE_MAP: Readonly<Record<DeploymentStageType, DeploymentNodeType>>;
430
430
  export declare const APP_DETAILS_FALLBACK_POLLING_INTERVAL = 30000;
431
431
  export declare const PROGRESSING_DEPLOYMENT_STATUS_POLLING_INTERVAL = 10000;
432
+ export declare const CUBIC_BEZIER_CURVE: [number, number, number, number];