@devtron-labs/devtron-fe-common-lib 1.20.5-pre-6 → 1.20.5-pre-8

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 (166) hide show
  1. package/dist/{@code-editor-BX0ncFEa.js → @code-editor-Bg-AwZAt.js} +9680 -11225
  2. package/dist/{@common-rjsf-DkWOuVME.js → @common-rjsf-DOxR7tJ7.js} +30 -30
  3. package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-DZveCoIL.js} +90 -92
  4. package/dist/{@react-dates-BjZWpiVv.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-DtwlfcIG.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DceGoESd.js → @vendor-3ORIJA0h.js} +18073 -26322
  8. package/dist/Common/API/reactQueryHooks.d.ts +1 -1
  9. package/dist/Common/API/types.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -1
  11. package/dist/Common/BreadCrumb/Types.d.ts +0 -15
  12. package/dist/Common/Common.service.d.ts +1 -4
  13. package/dist/Common/Constants.d.ts +14 -45
  14. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  16. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  17. package/dist/Common/SearchBar/types.d.ts +0 -8
  18. package/dist/Common/SegmentedBarChart/types.d.ts +0 -2
  19. package/dist/Common/Types.d.ts +5 -55
  20. package/dist/Common/index.d.ts +0 -1
  21. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  22. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  23. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  24. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  25. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  26. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  27. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  28. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  29. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  30. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  31. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  32. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  33. package/dist/Shared/Components/ContextSwitcher/ContextSwitcher.d.ts +1 -1
  34. package/dist/Shared/Components/ContextSwitcher/types.d.ts +1 -0
  35. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  36. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  37. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  38. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  39. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  40. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  41. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  42. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  43. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  44. package/dist/Shared/Components/Header/types.d.ts +0 -2
  45. package/dist/Shared/Components/Icon/Icon.d.ts +0 -32
  46. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  47. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  48. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  49. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  50. package/dist/Shared/Components/Table/types.d.ts +4 -6
  51. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  52. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  53. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  54. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  55. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  56. package/dist/Shared/Components/index.d.ts +0 -6
  57. package/dist/Shared/Helpers.d.ts +0 -2
  58. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  59. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  60. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  61. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
  62. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  63. package/dist/Shared/Services/common.service.d.ts +0 -2
  64. package/dist/Shared/Services/types.d.ts +0 -6
  65. package/dist/Shared/constants.d.ts +1 -2
  66. package/dist/Shared/types.d.ts +0 -20
  67. package/dist/assets/@code-editor.css +1 -1
  68. package/dist/assets/ic-gift-animated.9ca6ccb4.svg +38 -0
  69. package/dist/index.d.ts +0 -5
  70. package/dist/index.js +957 -1007
  71. package/package.json +1 -4
  72. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  73. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  74. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  75. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  76. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  77. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -11
  78. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  79. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  80. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  81. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  82. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  83. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  84. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  85. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  86. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  87. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  88. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  89. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  90. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  91. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  92. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  93. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  94. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
  95. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
  96. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  97. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  98. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  99. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  100. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -2
  101. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  102. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
  103. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
  104. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  105. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  106. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  107. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  108. package/dist/Pages-Devtron-2.0/index.d.ts +0 -3
  109. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -102
  110. package/dist/Shared/Components/Charts/constants.d.ts +0 -8
  111. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  112. package/dist/Shared/Components/Charts/plugins.d.ts +0 -4
  113. package/dist/Shared/Components/Charts/types.d.ts +0 -110
  114. package/dist/Shared/Components/Charts/utils.d.ts +0 -70
  115. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  116. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  117. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  118. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  119. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  120. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  121. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  122. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  123. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  124. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  125. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  126. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  127. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  128. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  129. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  130. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  131. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  132. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  133. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  134. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  135. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  136. package/dist/assets/ic-aws.b094356f.svg +0 -11
  137. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  138. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  139. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  140. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  141. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  142. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  143. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  144. package/dist/assets/ic-building.2405d07b.svg +0 -3
  145. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  146. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  147. package/dist/assets/ic-cloud.aa7acc8a.svg +0 -3
  148. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  149. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  150. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  151. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  152. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  153. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  154. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  155. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  156. package/dist/assets/ic-gift-animated.d848dfa3.svg +0 -1
  157. package/dist/assets/ic-google-cloud.a0198038.svg +0 -6
  158. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  159. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  160. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  161. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  162. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  163. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  164. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  165. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  166. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
@@ -1,6 +1,6 @@
1
1
  import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
2
  import { ServerErrors } from '../ServerError';
3
3
  import { ResponseType } from '../Types';
4
- export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
4
+ export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseQueryOptions<ResponseType<TQueryFnData>, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
5
5
  export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
6
6
  export { useQueryClient };
@@ -18,6 +18,6 @@ export interface FetchInTimeParamsType<Data = object> {
18
18
  options?: APIOptions;
19
19
  isMultipartRequest?: boolean;
20
20
  }
21
- export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser' | 'isProxyHost'> {
21
+ export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser'> {
22
22
  signal: AbortSignal;
23
23
  }
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { BreadcrumbTextProps } from './Types';
3
3
  export declare const BreadcrumbText: ({ heading, isActive, shouldTruncate }: BreadcrumbTextProps) => JSX.Element;
4
- export declare const getBreadCrumbSeparator: (sep?: string) => JSX.Element;
5
4
  declare const Store: ({ children }: {
6
5
  children: any;
7
6
  }) => JSX.Element;
@@ -34,18 +34,3 @@ export interface BreadcrumbTextProps {
34
34
  */
35
35
  shouldTruncate?: boolean;
36
36
  }
37
- export interface NestedBreadCrumbProps {
38
- /**
39
- * It is the url to which the link should redirect
40
- */
41
- redirectUrl: string;
42
- /**
43
- * It is the text of the link
44
- */
45
- linkText: string;
46
- /**
47
- * It is the name of the profile
48
- * If not given, would show "Create Profile"
49
- */
50
- profileName: string;
51
- }
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
6
  export declare const SourceTypeMap: {
@@ -36,6 +36,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
36
36
  abortControllerRef?: MutableRefObject<AbortController>;
37
37
  }) => Promise<GlobalVariableOptionType[]>;
38
38
  export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
39
- export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
40
- export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
41
- export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
@@ -30,7 +30,11 @@ export declare const PATTERNS: {
30
30
  export declare const URLS: {
31
31
  readonly LOGIN: "/login";
32
32
  readonly LOGIN_SSO: "/login/sso";
33
+ readonly PERMISSION_GROUPS: "/global-config/auth/groups";
34
+ readonly APP: "/app";
33
35
  readonly APP_LIST: "list";
36
+ readonly CHARTS_DISCOVER: "/chart-store/discover";
37
+ readonly JOB: "/job";
34
38
  readonly CREATE_JOB: "create-job";
35
39
  readonly GETTING_STARTED: "getting-started";
36
40
  readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
@@ -45,55 +49,21 @@ export declare const URLS: {
45
49
  readonly DETAILS: "/details";
46
50
  readonly CD_DETAILS: "cd-details";
47
51
  readonly APP_TRIGGER: "trigger";
52
+ readonly GLOBAL_CONFIG_DOCKER: "/global-config/docker";
48
53
  readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "/configuration";
54
+ readonly GLOBAL_CONFIG_SCOPED_VARIABLES: "/global-config/scoped-variables";
55
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: "/global-config/deployment-charts";
56
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_UPLOAD_CHART: "/global-config/deployment-charts/upload-chart";
49
57
  readonly NETWORK_STATUS_INTERFACE: "/network-status-interface";
58
+ readonly RESOURCE_BROWSER: "/resource-browser";
50
59
  readonly COMPARE_CLUSTERS: "/compare-clusters";
51
60
  readonly APP_CONFIG: "edit";
61
+ readonly GLOBAL_CONFIG: "/global-config";
62
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
63
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
64
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
52
65
  readonly LICENSE_AUTH: "/license-auth";
53
- readonly APPLICATION_MANAGEMENT: "/application-management";
54
- readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
55
- readonly APPLICATION_MANAGEMENT_APP: "/application-management/app";
56
- readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
57
- readonly APPLICATION_MANAGEMENT_CHART_STORE: "/application-management/chart-store";
58
- readonly APPLICATION_MANAGEMENT_CHART_STORE_DISCOVER: "/application-management/chart-store/discover";
59
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
60
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
61
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: "/application-management/templates/devtron-app/detail/:appId";
62
- readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
63
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
64
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
65
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
66
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
67
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: "/application-management/configurations/build-infra/profiles";
68
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
69
- readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
70
- readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
71
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
72
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
73
- readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
74
- readonly COST_VISIBILITY: "/cost-visibility";
75
- readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
76
- readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
77
- readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
78
- readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
79
- readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
80
- readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
81
- readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
82
- readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
83
- readonly SECURITY_CENTER: "/security-center";
84
- readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
85
- readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
86
- readonly DATA_PROTECTION: "/data-protection-management";
87
- readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
88
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: "/data-protection-management/backup-and-schedule";
89
- readonly DATA_PROTECTION_RESTORES: "/data-protection-management/restores";
90
- readonly DATA_PROTECTION_BACKUP_LOCATIONS: "/data-protection-management/backup-locations";
91
- readonly GLOBAL_CONFIG: "/global-configuration";
92
- readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
93
- readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
94
- readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
95
- readonly AI_RECOMMENDATIONS: "/ai-recommendations";
96
- readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
66
+ readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
97
67
  };
98
68
  export declare const ROUTES: {
99
69
  readonly APP: "app";
@@ -357,7 +327,6 @@ export declare const DATE_TIME_FORMATS: {
357
327
  DD_MMM_YYYY_HH_MM: string;
358
328
  DD_MMM_YYYY: string;
359
329
  'DD/MM/YYYY': string;
360
- DD_MMM: string;
361
330
  };
362
331
  export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
363
332
  export declare const VULNERABILITIES_SORT_PRIORITY: {
@@ -27,7 +27,6 @@ export declare const KEYBOARD_KEYS_MAP: {
27
27
  readonly Delete: "⌦";
28
28
  readonly '.': ".";
29
29
  readonly Space: "Space";
30
- readonly '>': ">";
31
30
  };
32
31
  export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
33
32
  export interface ShortcutType {
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | ">" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -33,5 +33,5 @@ import { SearchBarProps } from './types';
33
33
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
34
34
  * ```
35
35
  */
36
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, variant, isLoading, }: SearchBarProps) => JSX.Element;
36
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, }: SearchBarProps) => JSX.Element;
37
37
  export default SearchBar;
@@ -53,12 +53,4 @@ export interface SearchBarProps {
53
53
  * @note This is displayed in place of the dropdown indicator
54
54
  */
55
55
  keyboardShortcut?: SupportedKeyboardKeysType;
56
- /**
57
- * @default 'default'
58
- */
59
- variant?: 'default' | 'sidenav';
60
- /**
61
- * If true, would convert the magnifying glass icon to a loading spinner
62
- */
63
- isLoading?: boolean;
64
56
  }
@@ -1,4 +1,3 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
1
  export type Entity = {
3
2
  color: string;
4
3
  label: string;
@@ -21,6 +20,5 @@ export type SegmentedBarChartProps = {
21
20
  swapLegendAndBar?: boolean;
22
21
  showAnimationOnBar?: boolean;
23
22
  isLoading?: boolean;
24
- size?: ComponentSizeType;
25
23
  } & EntityPropType;
26
24
  export {};
@@ -2,10 +2,9 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
- import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
8
- import { ClusterStatusType } from '../Pages/ResourceBrowser';
7
+ import { IllustrationName } from '../Shared/Components';
9
8
  /**
10
9
  * Generic response type object with support for overriding the result type
11
10
  *
@@ -27,6 +26,9 @@ export interface ResponseType<T = any> {
27
26
  }
28
27
  export interface APIOptions {
29
28
  timeout?: number;
29
+ /**
30
+ * @deprecated Use abortController instead
31
+ */
30
32
  signal?: AbortSignal;
31
33
  abortControllerRef?: MutableRefObject<AbortController>;
32
34
  /**
@@ -41,11 +43,6 @@ export interface APIOptions {
41
43
  * @default false
42
44
  */
43
45
  shouldParseServerErrorForUnauthorizedUser?: boolean;
44
- /**
45
- * @default false
46
- * @description - If true, will override the default host (orchestrator or whatever defined initially in CoreAPI constructor) with the `proxy` host
47
- */
48
- isProxyHost?: boolean;
49
46
  }
50
47
  export interface OptionType<T = string, K = string> {
51
48
  value: T;
@@ -938,51 +935,4 @@ export interface ClusterEnvironmentCategoryDTO {
938
935
  }
939
936
  export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
940
937
  }
941
- export type AppsGroupedByProjectsType = {
942
- projectId: number;
943
- projectName: string;
944
- appList: {
945
- name: string;
946
- }[];
947
- }[];
948
- export type EnvironmentsGroupedByClustersType = {
949
- clusterName: EnvironmentType['cluster'];
950
- envList: EnvironmentType[];
951
- }[];
952
- export type ClusterCostModuleConfigPayload = {
953
- enabled: true;
954
- config?: Record<string, any>;
955
- } | {
956
- enabled: false;
957
- config?: never;
958
- };
959
- interface ClusterCostModuleDetailsDTO extends Pick<ClusterCostModuleConfigPayload, 'enabled' | 'config'> {
960
- installationStatus: 'Success' | 'Installing' | 'Upgrading' | 'NotInstalled' | 'Failed';
961
- installationError?: string;
962
- }
963
- export interface ClusterDetailDTO {
964
- category: ClusterEnvironmentCategoryType;
965
- cluster_name: string;
966
- description: string;
967
- id: number;
968
- insecureSkipTlsVerify: boolean;
969
- installationId: number;
970
- isProd: boolean;
971
- isVirtualCluster: boolean;
972
- server_url: string;
973
- sshTunnelConfig: any;
974
- prometheus_url: string;
975
- proxyUrl: string;
976
- toConnectWithSSHTunnel: boolean;
977
- clusterStatus: ClusterStatusType;
978
- costModuleConfig: ClusterCostModuleDetailsDTO;
979
- }
980
- export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
981
- serverUrl: ClusterDetailDTO['server_url'];
982
- clusterName: ClusterDetailDTO['cluster_name'];
983
- prometheusUrl: ClusterDetailDTO['prometheus_url'];
984
- clusterId: ClusterDetailDTO['id'];
985
- category: SelectPickerOptionType;
986
- status: ClusterStatusType;
987
- }
988
938
  export {};
@@ -2,7 +2,6 @@ export * from './AddCDButton';
2
2
  export * from './API';
3
3
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
4
4
  export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
5
- export { NestedBreadCrumb } from './BreadCrumb/NestedBreadCrumb';
6
5
  export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
7
6
  export * from './Checkbox';
8
7
  export * from './CIPipeline.Types';
@@ -1,3 +1,3 @@
1
1
  import { BuildInfraDescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, children, tooltipNode, tippyInfoText, tippyAdditionalContent, tooltipHeading, profileName, }: BuildInfraDescriptorProps) => JSX.Element;
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, tooltipHeading, }: BuildInfraDescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -1,3 +1,4 @@
1
+ import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
1
2
  import { CMSecretComponentType } from '../../../Shared/Services';
2
3
  import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
3
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
@@ -36,6 +37,7 @@ export declare const BUILD_INFRA_TEXT: {
36
37
  };
37
38
  readonly INVALID_FORM_MESSAGE: "Valid input is required for all mandatory fields.";
38
39
  };
40
+ export declare const BUILD_INFRA_BREADCRUMB: UseBreadcrumbProps;
39
41
  export declare const BUILD_INFRA_LOCATOR_MARKER_MAP: Readonly<Record<BuildInfraLocators, BuildInfraFormFieldType['marker']>>;
40
42
  export declare const BUILD_INFRA_LOCATOR_LABEL_MAP: Readonly<Record<BuildInfraLocators, string>>;
41
43
  export declare const BUILD_INFRA_FORM_FIELDS: Readonly<BuildInfraFormFieldType[]>;
@@ -1,6 +1,7 @@
1
1
  import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
3
3
  import { ServerErrors } from '../../../Common';
4
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
5
  import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
5
6
  /**
6
7
  * Unique actions that will be dispatched and,
@@ -42,28 +43,21 @@ export declare enum BuildInfraProfileVariants {
42
43
  NORMAL = "NORMAL",
43
44
  CUSTOM = "CUSTOM"
44
45
  }
45
- export type BuildInfraDescriptorProps = {
46
+ export interface BuildInfraDescriptorProps {
46
47
  /**
47
48
  * In case we want to restrict the max-width
48
49
  */
49
50
  additionalContainerClasses?: string;
51
+ breadCrumbs: Breadcrumb[];
50
52
  /**
51
53
  * Would stick at right of div
52
54
  */
53
55
  children?: ReactNode;
54
- } & ({
55
- tooltipNode: ReactNode;
56
- tippyInfoText?: never;
57
- tooltipHeading?: never;
58
- tippyAdditionalContent?: never;
59
- profileName?: never;
60
- } | {
61
- tooltipNode?: never;
62
- tippyInfoText: string;
63
- tooltipHeading?: string;
56
+ tippyInfoText?: string;
64
57
  tippyAdditionalContent?: ReactNode;
65
- profileName?: string;
66
- });
58
+ tooltipNode?: ReactNode;
59
+ tooltipHeading?: string;
60
+ }
67
61
  export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
68
62
  export interface BuildInfraActionType {
69
63
  /**
@@ -1 +1 @@
1
- export { default as VirtualClusterSidebar } from './VirtualClusterSidebar';
1
+ export type { NewClusterFormFooterProps, NewClusterFormProps } from './types';
@@ -0,0 +1,8 @@
1
+ export interface NewClusterFormFooterProps {
2
+ apiCallInProgress: boolean;
3
+ handleModalClose: () => void;
4
+ closeButtonText?: string;
5
+ }
6
+ export interface NewClusterFormProps extends Pick<NewClusterFormFooterProps, 'handleModalClose'> {
7
+ FooterComponent: React.FunctionComponent<NewClusterFormFooterProps> & Record<'CTA' | 'Start', React.FunctionComponent<{}>>;
8
+ }
@@ -1,5 +1,4 @@
1
- import { RefObject } from 'react';
2
- import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
1
+ import { ReactNode, RefObject } from 'react';
3
2
  import { Nodes, NodeType } from '../../Shared/types';
4
3
  export interface GVKType {
5
4
  Group: string;
@@ -137,7 +136,8 @@ export interface GVKOptionValueType {
137
136
  kind: string;
138
137
  apiVersion: string;
139
138
  }
140
- export interface ResourceRecommenderActionMenuProps extends Pick<TableViewWrapperProps<K8sResourceDetailDataType, FiltersTypeEnum.URL>, 'filteredRows'> {
139
+ export interface ResourceRecommenderActionMenuProps {
140
+ children: ReactNode;
141
141
  lastScannedOn: string;
142
142
  }
143
143
  export {};
@@ -53,13 +53,13 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
53
53
  export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
54
54
  export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
55
55
  export declare const RESOURCE_BROWSER_ROUTES: {
56
- readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
57
- readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
58
- readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
59
- readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
60
- readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
61
- readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
- readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
63
- readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
56
+ readonly OVERVIEW: "/resource-browser/:clusterId/overview";
57
+ readonly MONITORING_DASHBOARD: "/resource-browser/:clusterId/monitoring-dashboard";
58
+ readonly TERMINAL: "/resource-browser/:clusterId/terminal";
59
+ readonly CLUSTER_UPGRADE: "/resource-browser/:clusterId/cluster-upgrade";
60
+ readonly NODE_DETAIL: "/resource-browser/:clusterId/node/detail/:name";
61
+ readonly K8S_RESOURCE_DETAIL: "/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
+ readonly K8S_RESOURCE_LIST: "/resource-browser/:clusterId/:kind/:group";
63
+ readonly RESOURCE_RECOMMENDER: "/resource-browser/:clusterId/resource-recommender";
64
64
  };
65
65
  export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
@@ -37,9 +37,6 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
37
37
  startIcon?: ActionMenuItemIconType;
38
38
  /** Defines the item to be displayed at the end of the menu item. */
39
39
  trailingItem?: TrailingItemType;
40
- /** Prevents the menu from closing when the item is clicked. */
41
- doNotCloseMenuOnClick?: boolean;
42
- dataAttributesId?: number;
43
40
  } & ConditionalActionMenuComponentType;
44
41
  export type ActionMenuOptionType<T extends string | number> = {
45
42
  /**
@@ -64,7 +64,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
64
64
  itemRef?: string;
65
65
  results?: number;
66
66
  unselectable?: "on" | "off";
67
- inputMode?: "search" | "text" | "none" | "url" | "decimal" | "tel" | "email" | "numeric";
67
+ inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
68
68
  "aria-activedescendant"?: string;
69
69
  "aria-atomic"?: boolean | "true" | "false";
70
70
  "aria-autocomplete"?: "none" | "list" | "inline" | "both";
@@ -1,3 +1,3 @@
1
1
  import { BackdropProps } from './types';
2
- declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, returnFocusOnDeactivate, }: BackdropProps) => import('react').ReactPortal;
2
+ declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, }: BackdropProps) => import('react').ReactPortal;
3
3
  export default Backdrop;
@@ -1,6 +1,6 @@
1
1
  import { MouseEvent, ReactNode } from 'react';
2
2
  import { DTFocusTrapType } from '../DTFocusTrap';
3
- export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape' | 'returnFocusOnDeactivate'> {
3
+ export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape'> {
4
4
  /**
5
5
  * The content to be rendered within the backdrop component.
6
6
  */
@@ -1,8 +1,7 @@
1
- import { IconBaseColorType, IconBaseSizeType } from '../../types';
1
+ import { IconBaseColorType } from '../../types';
2
2
  import { BadgeProps } from './types';
3
3
  export declare const getClassNameAccToVariant: (variant: BadgeProps["variant"]) => {
4
4
  styles: string;
5
5
  iconColor: IconBaseColorType;
6
6
  };
7
7
  export declare const getClassNameAccToSize: (size: BadgeProps["size"]) => "fs-11 lh-16 px-4 py-1" | "fs-12 lh-16 px-6 py-2" | "fs-13 lh-20 px-6 py-2";
8
- export declare const COMPONENT_SIZE_TO_ICON_SIZE_MAP: Record<BadgeProps['size'], IconBaseSizeType>;
@@ -1,2 +1,2 @@
1
1
  import { ContextSwitcherTypes } from './types';
2
- export declare const ContextSwitcher: ({ inputId, options, inputValue, onInputChange, isLoading, value, onChange, placeholder, filterOption, formatOptionLabel, optionListError, reloadOptionList, classNamePrefix, }: ContextSwitcherTypes) => JSX.Element;
2
+ export declare const ContextSwitcher: ({ inputId, options, inputValue, onInputChange, isLoading, value, onChange, placeholder, filterOption, formatOptionLabel, optionListError, reloadOptionList, classNamePrefix, resource, }: ContextSwitcherTypes) => JSX.Element;
@@ -3,6 +3,7 @@ import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
3
3
  export interface ContextSwitcherTypes extends Pick<SelectPickerProps, 'placeholder' | 'onChange' | 'value' | 'isLoading' | 'onInputChange' | 'inputValue' | 'inputId' | 'formatOptionLabel' | 'filterOption' | 'optionListError' | 'reloadOptionList' | 'classNamePrefix'> {
4
4
  options: GroupBase<SelectPickerOptionType<string | number>>[];
5
5
  isAppDataAvailable?: boolean;
6
+ resource: 'Cluster' | 'Release' | 'Tenant' | 'Application' | 'Job' | 'Application Group' | 'Chart Store';
6
7
  }
7
8
  export interface RecentlyVisitedOptions extends SelectPickerOptionType<number> {
8
9
  isDisabled?: boolean;
@@ -4,5 +4,5 @@ export declare const useFocusTrapControl: () => {
4
4
  disableFocusTrap: typeof noop;
5
5
  resumeFocusTrap: typeof noop;
6
6
  };
7
- declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, returnFocusOnDeactivate, }: DTFocusTrapType) => JSX.Element;
7
+ declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, }: DTFocusTrapType) => JSX.Element;
8
8
  export default DTFocusTrap;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
- import { Props as FocusTrapProps } from 'focus-trap-react';
3
2
  type FocusTargetValue = HTMLElement | SVGElement | string;
4
3
  type FocusTargetValueOrFalse = FocusTargetValue | false;
5
4
  /**
@@ -8,7 +7,7 @@ type FocusTargetValueOrFalse = FocusTargetValue | false;
8
7
  * an opt-out, or a function that returns a DOM node or `false`.
9
8
  */
10
9
  type FocusTargetOrFalse = FocusTargetValueOrFalse | (() => FocusTargetValueOrFalse);
11
- export interface DTFocusTrapType extends Pick<FocusTrapProps['focusTrapOptions'], 'returnFocusOnDeactivate'> {
10
+ export interface DTFocusTrapType {
12
11
  /**
13
12
  * Callback function that gets triggered when the Escape key is pressed. \
14
13
  * Should be wrapped in useCallback to prevent unnecessary re-renders.
@@ -31,7 +31,7 @@ type FeatureDescriptionModalWithTabsConfig = {
31
31
  imageStyles?: never;
32
32
  };
33
33
  export type FeatureDescriptionModalProps = {
34
- title: React.ReactNode;
34
+ title: string;
35
35
  closeModalText?: string;
36
36
  closeModal?: () => void;
37
37
  } & ((BaseFeatureDescriptionModalProps & {
@@ -1,2 +1,2 @@
1
- import { animate, AnimatePresence, motion, useAnimation, useAnimationControls, useMotionTemplate, useMotionValue } from 'framer-motion';
2
- export { animate, AnimatePresence, motion, useAnimation, useAnimationControls, useMotionTemplate, useMotionValue };
1
+ import { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue } from 'framer-motion';
2
+ export { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue };
@@ -1,4 +1,3 @@
1
- import { ButtonComponentType } from '../Button';
2
1
  import { GenericSectionErrorStateProps } from './types';
3
- declare const GenericSectionErrorState: <T extends ButtonComponentType = ButtonComponentType.button>({ reload, buttonProps, customIcon, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, progressingProps, }: GenericSectionErrorStateProps<T>) => JSX.Element;
2
+ declare const GenericSectionErrorState: ({ reload, withBorder, title, subTitle, description, buttonText, rootClassName, useInfoIcon, progressingProps, }: GenericSectionErrorStateProps) => JSX.Element;
4
3
  export default GenericSectionErrorState;
@@ -1,7 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
- import { ButtonComponentType, ButtonProps } from '../Button';
3
2
  import { IconsProps } from '../Icon';
4
- export type GenericSectionErrorStateProps<ButtonType extends ButtonComponentType = ButtonComponentType.button> = {
3
+ export type GenericSectionErrorStateProps = {
4
+ /**
5
+ * Handler for reloading the section
6
+ */
7
+ reload?: () => void;
5
8
  /**
6
9
  * If true, border is added to the section
7
10
  *
@@ -34,7 +37,6 @@ export type GenericSectionErrorStateProps<ButtonType extends ButtonComponentType
34
37
  */
35
38
  progressingProps: Omit<IconsProps, 'name'>;
36
39
  useInfoIcon?: false;
37
- customIcon?: never;
38
40
  } | {
39
41
  progressingProps?: never;
40
42
  /**
@@ -43,25 +45,7 @@ export type GenericSectionErrorStateProps<ButtonType extends ButtonComponentType
43
45
  * @default false
44
46
  */
45
47
  useInfoIcon: true;
46
- customIcon?: never;
47
- } | {
48
- progressingProps?: never;
49
- useInfoIcon?: never;
50
- customIcon?: never;
51
48
  } | {
52
- customIcon: JSX.Element;
53
49
  progressingProps?: never;
54
50
  useInfoIcon?: never;
55
- }) & ({
56
- /**
57
- * Handler for reloading the section
58
- */
59
- reload: () => void;
60
- buttonProps?: never;
61
- } | {
62
- reload?: never;
63
- buttonProps: ButtonProps<ButtonType>;
64
- } | {
65
- reload?: never;
66
- buttonProps?: never;
67
51
  });
@@ -1,3 +1,3 @@
1
1
  import { HeaderWithCreateButtonProps } from './types';
2
- export declare const HeaderWithCreateButton: ({ isJobView }: HeaderWithCreateButtonProps) => JSX.Element;
2
+ export declare const HeaderWithCreateButton: ({ headerName, additionalHeaderInfo }: HeaderWithCreateButtonProps) => JSX.Element;
3
3
  export default HeaderWithCreateButton;
@@ -1,6 +1,8 @@
1
1
  import { ActionMenuProps } from '../../ActionMenu';
2
+ import { PageHeaderType } from '../types';
2
3
  export interface HeaderWithCreateButtonProps {
3
- isJobView?: boolean;
4
+ headerName: string;
5
+ additionalHeaderInfo: PageHeaderType['additionalHeaderInfo'];
4
6
  }
5
7
  export declare enum CreateActionMenuItems {
6
8
  CUSTOM_APP = "create-custom-app",
@@ -1,3 +1,3 @@
1
1
  import { PageHeaderType } from './types';
2
- declare const PageHeader: ({ headerName, headerImage, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, onClose, tippyProps, closeIcon, }: PageHeaderType) => JSX.Element;
2
+ declare const PageHeader: ({ headerName, headerImage, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, onClose, tippyProps, }: PageHeaderType) => JSX.Element;
3
3
  export default PageHeader;
@@ -17,10 +17,8 @@ export interface PageHeaderType {
17
17
  TippyIcon?: React.FunctionComponent<any>;
18
18
  tippyMessage?: string;
19
19
  onClickTippyButton?: () => void;
20
- tippyHeader?: string;
21
20
  };
22
21
  onClose?: () => void;
23
- closeIcon?: JSX.Element;
24
22
  }
25
23
  export interface ServerInfo {
26
24
  currentVersion: string;