@devtron-labs/devtron-fe-common-lib 1.20.3-pre-1 → 1.20.3-pre-3
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.
- package/dist/{@code-editor-CyROJVsO.js → @code-editor-C61CWW_V.js} +9477 -10636
- package/dist/{@common-rjsf-DarRIml5.js → @common-rjsf-BSXIl58C.js} +46 -46
- package/dist/{@framer-motion-D-YaCAW-.js → @framer-motion-DZveCoIL.js} +90 -92
- package/dist/{@react-dates-Bo3yT8LF.js → @react-dates-CZ1bNWJM.js} +1 -1
- package/dist/{@react-select-DTi_5fIc.js → @react-select-DS68hCUM.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CuvDiqTo.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
- package/dist/{@vendor-DMIFbFhR.js → @vendor-3ORIJA0h.js} +17976 -26066
- package/dist/Common/API/reactQueryHooks.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +1 -3
- package/dist/Common/Constants.d.ts +14 -40
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +0 -8
- package/dist/Common/SegmentedBarChart/types.d.ts +0 -2
- package/dist/Common/Types.d.ts +4 -12
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
- package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
- package/dist/Shared/Components/ActionMenu/types.d.ts +0 -2
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
- package/dist/Shared/Components/Badge/utils.d.ts +1 -2
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
- package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -29
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +0 -6
- package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
- package/dist/Shared/Components/TreeView/types.d.ts +3 -17
- package/dist/Shared/Components/index.d.ts +0 -4
- package/dist/Shared/Helpers.d.ts +0 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
- package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
- package/dist/Shared/Services/common.service.d.ts +0 -2
- package/dist/Shared/Services/types.d.ts +0 -6
- package/dist/Shared/constants.d.ts +1 -2
- package/dist/Shared/types.d.ts +0 -20
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-gift-animated.9ca6ccb4.svg +38 -0
- package/dist/assets/ic-rotate-devtron.0684b6fd.svg +74 -0
- package/dist/index.d.ts +0 -5
- package/dist/index.js +957 -1021
- package/package.json +1 -2
- package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/PageHeader.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/constants.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/types.d.ts +0 -12
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/utils.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -11
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -11
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -2
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/index.d.ts +0 -3
- package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -102
- package/dist/Shared/Components/Charts/constants.d.ts +0 -16
- package/dist/Shared/Components/Charts/index.d.ts +0 -4
- package/dist/Shared/Components/Charts/plugins.d.ts +0 -5
- package/dist/Shared/Components/Charts/types.d.ts +0 -95
- package/dist/Shared/Components/Charts/utils.d.ts +0 -15
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
- package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
- package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -21
- package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
- package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
- package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
- package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
- package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
- package/dist/assets/ic-aws.b094356f.svg +0 -11
- package/dist/assets/ic-bg-build.7de825b3.svg +0 -13
- package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
- package/dist/assets/ic-bg-production-pipelines.5965401c.svg +0 -21
- package/dist/assets/ic-bg-project.84658405.svg +0 -12
- package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
- package/dist/assets/ic-bot.65f403dd.svg +0 -3
- package/dist/assets/ic-building.2405d07b.svg +0 -3
- package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
- package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
- package/dist/assets/ic-cloud.aa7acc8a.svg +0 -3
- package/dist/assets/ic-coins.2c15f406.svg +0 -3
- package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
- package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
- package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
- package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
- package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
- package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
- package/dist/assets/ic-gift-animated.d848dfa3.svg +0 -1
- package/dist/assets/ic-google-cloud.a0198038.svg +0 -6
- package/dist/assets/ic-graph-negative.d49ba2b7.svg +0 -4
- package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
- package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
- package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
- package/dist/assets/ic-rotate-devtron.5a8363d8.svg +0 -120
- package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
- package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
- 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
|
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 };
|
@@ -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
|
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,5 +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>;
|
@@ -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,51 +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
|
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_NOTIFICATIONS: "/application-management/configurations/notifications";
|
68
|
-
readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
|
69
|
-
readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
|
70
|
-
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
|
71
|
-
readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
|
72
|
-
readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
|
73
|
-
readonly COST_VISIBILITY: "/cost-visibility";
|
74
|
-
readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
|
75
|
-
readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
|
76
|
-
readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
|
77
|
-
readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
|
78
|
-
readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
|
79
|
-
readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
|
80
|
-
readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
|
81
|
-
readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
|
82
|
-
readonly SECURITY_CENTER: "/security-center";
|
83
|
-
readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
|
84
|
-
readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
|
85
|
-
readonly BACKUP_AND_RESTORE: "/backup-and-restore";
|
86
|
-
readonly BACKUP_AND_RESTORE_OVERVIEW: "/backup-and-restore/overview";
|
87
|
-
readonly GLOBAL_CONFIG: "/global-configuration";
|
88
|
-
readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
|
89
|
-
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
|
90
|
-
readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
|
91
|
-
readonly AI_RECOMMENDATIONS: "/ai-recommendations";
|
92
|
-
readonly AI_RECOMMENDATIONS_OVERVIEW: "/ai-recommendations/overview";
|
66
|
+
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
|
93
67
|
};
|
94
68
|
export declare const ROUTES: {
|
95
69
|
readonly APP: "app";
|
@@ -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" | "
|
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,
|
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 {};
|
package/dist/Common/Types.d.ts
CHANGED
@@ -2,7 +2,7 @@ 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
|
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
7
|
import { IllustrationName } from '../Shared/Components';
|
8
8
|
/**
|
@@ -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
|
/**
|
@@ -932,15 +935,4 @@ export interface ClusterEnvironmentCategoryDTO {
|
|
932
935
|
}
|
933
936
|
export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
|
934
937
|
}
|
935
|
-
export type AppsGroupedByProjectsType = {
|
936
|
-
projectId: number;
|
937
|
-
projectName: string;
|
938
|
-
appList: {
|
939
|
-
name: string;
|
940
|
-
}[];
|
941
|
-
}[];
|
942
|
-
export type EnvironmentsGroupedByClustersType = {
|
943
|
-
clusterName: EnvironmentType['cluster'];
|
944
|
-
envList: EnvironmentType[];
|
945
|
-
}[];
|
946
938
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export {
|
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: "/
|
57
|
-
readonly MONITORING_DASHBOARD: "/
|
58
|
-
readonly TERMINAL: "/
|
59
|
-
readonly CLUSTER_UPGRADE: "/
|
60
|
-
readonly NODE_DETAIL: "/
|
61
|
-
readonly K8S_RESOURCE_DETAIL: "/
|
62
|
-
readonly K8S_RESOURCE_LIST: "/
|
63
|
-
readonly 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,
|
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'
|
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
|
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>;
|
@@ -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,
|
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
|
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:
|
34
|
+
title: string;
|
35
35
|
closeModalText?: string;
|
36
36
|
closeModal?: () => void;
|
37
37
|
} & ((BaseFeatureDescriptionModalProps & {
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { animate, AnimatePresence, motion,
|
2
|
-
export { animate, AnimatePresence, motion,
|
1
|
+
import { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue } from 'framer-motion';
|
2
|
+
export { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue };
|
package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import { ButtonComponentType } from '../Button';
|
2
1
|
import { GenericSectionErrorStateProps } from './types';
|
3
|
-
declare const GenericSectionErrorState:
|
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
|
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: ({
|
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
|
-
|
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,
|
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;
|
@@ -4,11 +4,9 @@ export declare const iconMap: {
|
|
4
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
5
|
'ic-activity': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
6
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
|
-
'ic-alibaba': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
7
|
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
9
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
10
9
|
'ic-app-template': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
11
|
-
'ic-argocd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
12
10
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
13
11
|
'ic-arrow-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
14
12
|
'ic-arrow-square-out': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -17,25 +15,17 @@ export declare const iconMap: {
|
|
17
15
|
'ic-asterisk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
18
16
|
'ic-ather': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
19
17
|
'ic-aws-codecommit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
|
-
'ic-aws': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
18
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
19
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
|
-
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
20
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
|
-
'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
21
|
'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
|
-
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
|
-
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
|
-
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
22
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
23
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
24
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
|
-
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
25
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
26
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
27
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
28
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
-
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
29
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
30
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
31
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -52,17 +42,13 @@ export declare const iconMap: {
|
|
52
42
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
43
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
44
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
|
-
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
|
-
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
45
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
46
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
47
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
48
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
|
-
'ic-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
49
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
50
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
51
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
|
-
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
52
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
67
53
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
68
54
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -70,7 +56,6 @@ export declare const iconMap: {
|
|
70
56
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
57
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
58
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
|
-
'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
59
|
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
60
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
61
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -81,7 +66,6 @@ export declare const iconMap: {
|
|
81
66
|
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
67
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
68
|
'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
|
-
'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
69
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
86
70
|
'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
71
|
'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -91,7 +75,6 @@ export declare const iconMap: {
|
|
91
75
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
92
76
|
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
77
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
|
-
'ic-edit-lines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
78
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
79
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
80
|
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -108,13 +91,10 @@ export declare const iconMap: {
|
|
108
91
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
92
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
93
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
|
-
'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
94
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
95
|
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
96
|
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
97
|
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
|
-
'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
|
-
'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
118
98
|
'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
119
99
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
120
100
|
'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -128,11 +108,9 @@ export declare const iconMap: {
|
|
128
108
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
129
109
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
130
110
|
'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
|
-
'ic-google-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
111
|
'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
112
|
'ic-google-gke': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
113
|
'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
|
-
'ic-graph-negative': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
114
|
'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
115
|
'ic-group-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
116
|
'ic-group-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -158,7 +136,6 @@ export declare const iconMap: {
|
|
158
136
|
'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
159
137
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
160
138
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
161
|
-
'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
162
139
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
163
140
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
164
141
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -171,7 +148,6 @@ export declare const iconMap: {
|
|
171
148
|
'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
172
149
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
173
150
|
'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
174
|
-
'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
175
151
|
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
176
152
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
177
153
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -193,8 +169,6 @@ export declare const iconMap: {
|
|
193
169
|
'ic-open-in-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
194
170
|
'ic-openai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
195
171
|
'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
196
|
-
'ic-oracle-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
197
|
-
'ic-otc-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
198
172
|
'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
199
173
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
200
174
|
'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -206,7 +180,6 @@ export declare const iconMap: {
|
|
206
180
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
207
181
|
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
208
182
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
209
|
-
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
210
183
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
211
184
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
212
185
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -237,7 +210,6 @@ export declare const iconMap: {
|
|
237
210
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
238
211
|
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
239
212
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
240
|
-
'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
241
213
|
'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
242
214
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
243
215
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -249,7 +221,6 @@ export declare const iconMap: {
|
|
249
221
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
250
222
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
251
223
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
252
|
-
'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
253
224
|
'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
254
225
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
255
226
|
'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,
|
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
|
*/
|
@@ -5,7 +5,6 @@ export declare const illustrationMap: {
|
|
5
5
|
'img-devtron-freemium': string;
|
6
6
|
'img-man-on-rocket': string;
|
7
7
|
'img-no-result': string;
|
8
|
-
'no-cluster-cost-enabled': string;
|
9
8
|
};
|
10
9
|
export type IllustrationName = keyof typeof illustrationMap;
|
11
10
|
export interface IllustrationProps extends Omit<IllustrationBaseProps, 'name' | 'illustrationMap'> {
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { FiltersTypeEnum, InternalTableProps } from './types';
|
2
|
-
declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue,
|
2
|
+
declare const InternalTable: <RowData extends unknown, FilterVariant extends FiltersTypeEnum, AdditionalProps extends Record<string, any>>({ filtersVariant, filterData, rows, getRows, columns, ViewWrapper, resizableConfig, emptyStateConfig, additionalProps, areColumnsConfigurable, filter, setVisibleColumns, visibleColumns, stylesConfig, loading, bulkSelectionConfig, bulkSelectionReturnValue, handleClearBulkSelection, handleToggleBulkSelectionOnRow, paginationVariant, RowActionsOnHoverComponent, pageSizeOptions, clearFilters: userGivenUrlClearFilters, }: InternalTableProps<RowData, FilterVariant, AdditionalProps>) => JSX.Element;
|
3
3
|
export default InternalTable;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
2
|
import { OmitNever } from '../../types';
|
3
|
-
import { ActionMenuProps } from '../ActionMenu';
|
4
3
|
import { ButtonProps } from '../Button';
|
5
4
|
import { IconsProps } from '../Icon';
|
6
5
|
import { NumbersCountProps } from '../NumbersCount';
|
@@ -31,9 +30,6 @@ export type TrailingItemType = {
|
|
31
30
|
config: OmitNever<Omit<Extract<ButtonProps, {
|
32
31
|
icon: ReactElement;
|
33
32
|
}>, 'size' | 'variant'>>;
|
34
|
-
} | {
|
35
|
-
type: 'action-menu';
|
36
|
-
config: ActionMenuProps;
|
37
33
|
};
|
38
34
|
export type TrailingItemProps = TrailingItemType & {
|
39
35
|
/**
|