@devtron-labs/devtron-fe-common-lib 1.20.0-pre-5 → 1.20.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 (109) hide show
  1. package/dist/{@code-editor-CQa5l5q4.js → @code-editor-Bksgmm74.js} +9001 -9870
  2. package/dist/{@common-rjsf-CEv35RMu.js → @common-rjsf-CequmJ15.js} +46 -46
  3. package/dist/{@framer-motion-D-YaCAW-.js → @framer-motion-DZveCoIL.js} +90 -92
  4. package/dist/{@react-dates-Bo3yT8LF.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-DTi_5fIc.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-CuvDiqTo.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DMIFbFhR.js → @vendor-3ORIJA0h.js} +17976 -26066
  8. package/dist/Common/API/reactQueryHooks.d.ts +1 -1
  9. package/dist/Common/Constants.d.ts +14 -41
  10. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  11. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  12. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  13. package/dist/Common/SearchBar/types.d.ts +0 -8
  14. package/dist/Common/SegmentedBarChart/types.d.ts +0 -2
  15. package/dist/Common/Types.d.ts +3 -0
  16. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  17. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  18. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  19. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -2
  20. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  21. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  22. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  23. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  24. package/dist/Shared/Components/DocLink/constants.d.ts +1 -0
  25. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  26. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  27. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  28. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  29. package/dist/Shared/Components/Header/types.d.ts +0 -1
  30. package/dist/Shared/Components/Icon/Icon.d.ts +0 -17
  31. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  32. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  33. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
  34. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  35. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  36. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  37. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  38. package/dist/Shared/Components/index.d.ts +0 -4
  39. package/dist/Shared/Helpers.d.ts +0 -1
  40. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  41. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
  42. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  43. package/dist/Shared/constants.d.ts +1 -2
  44. package/dist/Shared/types.d.ts +0 -20
  45. package/dist/assets/@code-editor.css +1 -1
  46. package/dist/index.d.ts +0 -5
  47. package/dist/index.js +913 -925
  48. package/package.json +1 -2
  49. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  50. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  51. package/dist/Pages-Devtron-2.0/ApplicationManagement/Overview/Overview.d.ts +0 -1
  52. package/dist/Pages-Devtron-2.0/ApplicationManagement/Overview/index.d.ts +0 -1
  53. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  54. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  55. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  56. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  57. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  58. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  59. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -1
  60. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -11
  61. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  62. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  63. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  64. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  65. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  66. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  67. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
  68. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
  69. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  70. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
  71. package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
  72. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  73. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  74. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  75. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  76. package/dist/Pages-Devtron-2.0/index.d.ts +0 -1
  77. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -102
  78. package/dist/Shared/Components/Charts/constants.d.ts +0 -16
  79. package/dist/Shared/Components/Charts/index.d.ts +0 -2
  80. package/dist/Shared/Components/Charts/types.d.ts +0 -61
  81. package/dist/Shared/Components/Charts/utils.d.ts +0 -11
  82. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  83. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  84. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  85. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  86. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  87. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  88. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -21
  89. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  90. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  91. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  92. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  93. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  94. package/dist/assets/ic-building.2405d07b.svg +0 -3
  95. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  96. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  97. package/dist/assets/ic-cloud.aa7acc8a.svg +0 -3
  98. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  99. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  100. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  101. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  102. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  103. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  104. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  105. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  106. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  107. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  108. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  109. 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 };
@@ -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,52 +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_CATALOG_FRAMEWORK: "/application-management/configurations/catalog-framework";
66
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
67
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
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 BACKUP_AND_RESTORE: "/backup-and-restore";
87
- readonly BACKUP_AND_RESTORE_OVERVIEW: "/backup-and-restore/overview";
88
- readonly GLOBAL_CONFIG: "/global-configuration";
89
- readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
90
- readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
91
- readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
92
- readonly AI_RECOMMENDATIONS: "/ai-recommendations";
93
- readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
66
+ readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
94
67
  };
95
68
  export declare const ROUTES: {
96
69
  readonly APP: "app";
@@ -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 {};
@@ -26,6 +26,9 @@ export interface ResponseType<T = any> {
26
26
  }
27
27
  export interface APIOptions {
28
28
  timeout?: number;
29
+ /**
30
+ * @deprecated Use abortController instead
31
+ */
29
32
  signal?: AbortSignal;
30
33
  abortControllerRef?: MutableRefObject<AbortController>;
31
34
  /**
@@ -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
+ }
@@ -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,8 +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
40
  } & ConditionalActionMenuComponentType;
43
41
  export type ActionMenuOptionType<T extends string | number> = {
44
42
  /**
@@ -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
  */
@@ -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.
@@ -86,6 +86,7 @@ export declare const DOCUMENTATION: {
86
86
  readonly GLOBAL_CONFIG_PLUGINS_POLICY: "global-configurations/plugins-policy";
87
87
  readonly GLOBAL_CONFIG_APPROVAL_POLICY: "global-configurations/approval-policy";
88
88
  readonly GLOBAL_CONFIG_SSO_LOGIN_LDAP: "global-configurations/authorization/sso-login/ldap";
89
+ readonly GLOBAL_CONFIG_SSO_LOGIN_OIDC: "global-configurations/authorization/sso-login/oidc";
89
90
  readonly GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: "global-configurations/authorization/sso-login/microsoft";
90
91
  readonly GLOBAL_CONFIG_PULL_IMAGE_DIGEST: "global-configurations/pull-image-digest";
91
92
  readonly GLOBAL_CONFIG_TAGS: "getting-started/global-configurations/tags-policy";
@@ -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 { 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;
@@ -19,7 +19,6 @@ export interface PageHeaderType {
19
19
  onClickTippyButton?: () => void;
20
20
  };
21
21
  onClose?: () => void;
22
- closeIcon?: JSX.Element;
23
22
  }
24
23
  export interface ServerInfo {
25
24
  currentVersion: string;
@@ -7,7 +7,6 @@ export declare const iconMap: {
7
7
  'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
8
8
  'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
9
9
  'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
10
- 'ic-argocd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
11
10
  'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
12
11
  'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
13
12
  'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -23,12 +22,10 @@ export declare const iconMap: {
23
22
  'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
24
23
  'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
25
24
  'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
26
- 'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
27
25
  'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
26
  'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
29
27
  'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
28
  'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
31
- 'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
32
29
  'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
33
30
  'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
34
31
  'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -45,17 +42,13 @@ export declare const iconMap: {
45
42
  'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
46
43
  'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
44
  'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
- 'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
- 'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
50
45
  'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
46
  'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
52
47
  'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
53
48
  'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
54
- 'ic-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
55
49
  'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
56
50
  'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
57
51
  'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
58
- 'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
59
52
  'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
60
53
  'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
61
54
  'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -63,7 +56,6 @@ export declare const iconMap: {
63
56
  'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
64
57
  'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
65
58
  'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
66
- 'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
67
59
  'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
68
60
  'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
69
61
  'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -74,7 +66,6 @@ export declare const iconMap: {
74
66
  'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
75
67
  'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
76
68
  'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
77
- 'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
78
69
  'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
79
70
  'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
80
71
  'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -100,13 +91,10 @@ export declare const iconMap: {
100
91
  'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
101
92
  'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
102
93
  'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
103
- 'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
104
94
  'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
105
95
  'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
106
96
  'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
107
97
  'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
108
- 'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
109
- 'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
110
98
  'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
111
99
  'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
112
100
  'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -147,7 +135,6 @@ export declare const iconMap: {
147
135
  'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
148
136
  'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
149
137
  'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
150
- 'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
151
138
  'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
152
139
  'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
153
140
  'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -160,7 +147,6 @@ export declare const iconMap: {
160
147
  'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
161
148
  'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
162
149
  'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
163
- 'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
164
150
  'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
165
151
  'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
166
152
  'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -192,7 +178,6 @@ export declare const iconMap: {
192
178
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
193
179
  'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
194
180
  'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
195
- 'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
196
181
  'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
197
182
  'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
198
183
  'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -222,7 +207,6 @@ export declare const iconMap: {
222
207
  'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
223
208
  'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
224
209
  'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
225
- 'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
226
210
  'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
227
211
  'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
228
212
  'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -234,7 +218,6 @@ export declare const iconMap: {
234
218
  'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
235
219
  'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
236
220
  'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
237
- 'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
238
221
  'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
239
222
  'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
240
223
  'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -1,2 +1,2 @@
1
1
  import { IconBaseProps } from './types';
2
- export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace, flip, }: IconBaseProps) => JSX.Element;
2
+ export declare const IconBase: ({ name, iconMap, size, tooltipProps, color, dataTestId, rotateBy, fillSpace, }: IconBaseProps) => JSX.Element;
@@ -38,12 +38,6 @@ export interface IconBaseProps {
38
38
  * @example 90, 180, 270
39
39
  */
40
40
  rotateBy?: number;
41
- /**
42
- * Flips the icon in the specified direction
43
- *
44
- * @default undefined
45
- */
46
- flip?: 'horizontal' | 'vertical';
47
41
  /**
48
42
  * If true, the icon will expand to fill the available space of its container.
49
43
  */
@@ -4,7 +4,6 @@ export declare const illustrationMap: {
4
4
  'img-code': string;
5
5
  'img-man-on-rocket': string;
6
6
  'img-no-result': string;
7
- 'no-cluster-cost-enabled': string;
8
7
  };
9
8
  export type IllustrationName = keyof typeof illustrationMap;
10
9
  export interface IllustrationProps extends Omit<IllustrationBaseProps, 'name' | 'illustrationMap'> {
@@ -1,3 +1,3 @@
1
1
  import { TreeViewProps } from './types';
2
- declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, highlightSelectedHeadingOnlyWhenCollapsed, useOverflowAuto, }: TreeViewProps<DataAttributeType>) => JSX.Element;
2
+ declare const TreeView: <DataAttributeType = null>({ nodes, isControlled, expandedMap: expandedMapProp, selectedId, onToggle: onToggleProp, onSelect, depth, mode, flatNodeList: flatNodeListProp, getUpdateItemsRefMap: getUpdateItemsRefMapProp, variant, defaultExpandedMap, }: TreeViewProps<DataAttributeType>) => JSX.Element;
3
3
  export default TreeView;
@@ -1,3 +1,3 @@
1
1
  import { TreeViewNodeContentProps } from './types';
2
- declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, variant, }: TreeViewNodeContentProps) => JSX.Element;
2
+ declare const TreeViewNodeContent: ({ startIconConfig, title, subtitle, type, customTooltipConfig, strikeThrough, isSelected, }: TreeViewNodeContentProps) => JSX.Element;
3
3
  export default TreeViewNodeContent;
@@ -2,6 +2,3 @@ import { TreeViewProps } from './types';
2
2
  export declare const DEFAULT_NO_ITEMS_TEXT = "No items found";
3
3
  export declare const VARIANT_TO_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
4
4
  export declare const VARIANT_TO_HOVER_CLASS_MAP: Record<TreeViewProps['variant'], string>;
5
- export declare const VARIANT_TO_SELECTED_CLASS_MAP: Record<TreeViewProps['variant'], string>;
6
- export declare const VARIANT_TO_TEXT_CLASS_MAP: Record<TreeViewProps['variant'], string>;
7
- export declare const VARIANT_TO_TREE_ITEM_ACTIVE_BG_CLASS_MAP: Record<TreeViewProps['variant'], string>;
@@ -96,11 +96,9 @@ export type TreeItem<DataAttributeType = null> = BaseNode<DataAttributeType> & {
96
96
  onClick?: (e: SyntheticEvent) => void;
97
97
  href?: never;
98
98
  clearQueryParamsOnNavigation?: never;
99
- activeClassName?: never;
100
99
  } | {
101
100
  as: 'link';
102
101
  href: string;
103
- activeClassName?: string;
104
102
  /**
105
103
  * The callback function to handle click events on the nav link.
106
104
  */
@@ -115,7 +113,6 @@ export type TreeItem<DataAttributeType = null> = BaseNode<DataAttributeType> & {
115
113
  href?: never;
116
114
  onClick?: never;
117
115
  clearQueryParamsOnNavigation?: never;
118
- activeClassName?: never;
119
116
  });
120
117
  /**
121
118
  * Props for the TreeView component.
@@ -154,25 +151,14 @@ export type TreeViewProps<DataAttributeType = null> = {
154
151
  */
155
152
  mode?: 'navigation' | 'form';
156
153
  /**
157
- * If primary the background color will be bg__primary and bg__hover--opaque \
158
- * if secondary the background color will be bg__secondary bg__hover-secondary--opaque,
159
- * if sidenav the background color will be bg__transparent bg__hover-sidebar-item.
154
+ * If primary the background color will be bg__primary and bg__hover--opaque, if secondary the background color will be bg__secondary bg__hover-secondary--opaque.
160
155
  * @default 'primary'
161
156
  */
162
- variant?: 'primary' | 'secondary' | 'sidenav';
157
+ variant?: 'primary' | 'secondary';
163
158
  /**
164
159
  * @default {}
165
160
  */
166
161
  defaultExpandedMap?: Record<string, boolean>;
167
- /**
168
- * When true, the selected heading (`selectedId`) will be highlighted only when it is collapsed.
169
- * @default false
170
- */
171
- highlightSelectedHeadingOnlyWhenCollapsed?: boolean;
172
- /**
173
- * @default true
174
- */
175
- useOverflowAuto?: boolean;
176
162
  } /**
177
163
  * WARNING: For internal use only.
178
164
  */ & ({
@@ -202,7 +188,7 @@ export type TreeViewProps<DataAttributeType = null> = {
202
188
  expandedMap?: never;
203
189
  isControlled?: false;
204
190
  });
205
- export interface TreeViewNodeContentProps extends Pick<BaseNode, 'startIconConfig' | 'title' | 'subtitle' | 'customTooltipConfig' | 'strikeThrough'>, Required<Pick<TreeViewProps, 'variant'>> {
191
+ export interface TreeViewNodeContentProps extends Pick<BaseNode, 'startIconConfig' | 'title' | 'subtitle' | 'customTooltipConfig' | 'strikeThrough'> {
206
192
  type: 'heading' | 'item';
207
193
  isSelected: boolean;
208
194
  }
@@ -13,7 +13,6 @@ export * from './BulkSelection';
13
13
  export * from './Button';
14
14
  export * from './ButtonWithLoader';
15
15
  export * from './ButtonWithSelector';
16
- export * from './Charts';
17
16
  export * from './Chip';
18
17
  export * from './CICDHistory';
19
18
  export * from './CMCS';
@@ -60,7 +59,6 @@ export * from './ImageWithFallback';
60
59
  export * from './InfoBlock';
61
60
  export * from './InfoIconTippy';
62
61
  export * from './InvalidYAMLTippy';
63
- export * from './KeyboardShortcut';
64
62
  export * from './KeyValueTable';
65
63
  export * from './License';
66
64
  export { default as LoadingCard } from './LoadingCard';
@@ -73,7 +71,6 @@ export * from './Plugin';
73
71
  export * from './Popover';
74
72
  export * from './PortalContainer';
75
73
  export * from './ProgressBar';
76
- export * from './PrometheusConfigurations';
77
74
  export { default as QRCode } from './QRCode';
78
75
  export * from './ReactSelect';
79
76
  export * from './RegistryIcon';
@@ -81,7 +78,6 @@ export * from './ScannedByToolModal';
81
78
  export * from './Security';
82
79
  export * from './SelectPicker';
83
80
  export * from './ShowMoreText';
84
- export * from './SideNavigation';
85
81
  export * from './SSOProviderIcon';
86
82
  export * from './StatusComponent';
87
83
  export * from './Switch';
@@ -103,5 +103,4 @@ export declare const clearCookieOnLogout: () => void;
103
103
  export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
104
104
  export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
105
105
  export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
106
- export declare const YAMLtoJSON: (yamlString: string) => string;
107
106
  export {};
@@ -4,7 +4,7 @@ import { PreferredResourceKindType, UserPreferenceFilteredListTypes, UserPrefere
4
4
  * @description This function fetches the user preferences from the server. It uses the `get` method to make a request to the server and retrieves the user preferences based on the `USER_PREFERENCES_ATTRIBUTE_KEY`. The result is parsed and returned as a `UserPreferencesType` object.
5
5
  * @throws Will throw an error if the request fails or if the result is not in the expected format.
6
6
  */
7
- export declare const getUserPreferences: (signal?: AbortSignal) => Promise<UserPreferencesType>;
7
+ export declare const getUserPreferences: () => Promise<UserPreferencesType>;
8
8
  export declare const updateUserPreferences: ({ path, value, resourceKind, shouldThrowError, userPreferencesResponse, }: UserPreferenceResourceProps) => Promise<boolean>;
9
9
  /**
10
10
  * Optimized function to get updated user preferences with resource filtering