@devtron-labs/devtron-fe-common-lib 1.20.1-beta-1 → 1.20.1-beta-2
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-IJc1_9nZ.js → @code-editor-DwSS81S6.js} +9842 -10741
- package/dist/{@common-rjsf-H82t1TCw.js → @common-rjsf-DL989WVJ.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/Constants.d.ts +14 -41
- 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 +3 -0
- 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/DocLink/constants.d.ts +1 -0
- 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/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +0 -2
- package/dist/Shared/Components/Icon/Icon.d.ts +4 -22
- 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/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/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/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-freemium-devtron.d3457c39.svg +11 -0
- package/dist/assets/ic-gift-filled.5fd6cfa5.svg +11 -0
- package/dist/assets/ic-ratings.a1d31244.svg +13 -0
- package/dist/assets/ic-success-blue.7b3a2720.svg +4 -0
- package/dist/index.d.ts +0 -5
- package/dist/index.js +956 -1054
- 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 -6
- 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/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 -3
- package/dist/Shared/Components/Charts/types.d.ts +0 -74
- package/dist/Shared/Components/Charts/utils.d.ts +0 -12
- 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-argocd-app.9c5eba79.svg +0 -61
- 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-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-kubernetes.7e04c3d2.svg +0 -4
- package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
- 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 };
|
@@ -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
|
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";
|
@@ -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
@@ -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.
|
@@ -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";
|
@@ -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 { 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;
|
@@ -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>>;
|
@@ -18,22 +17,15 @@ export declare const iconMap: {
|
|
18
17
|
'ic-aws-codecommit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
19
18
|
'ic-azure-aks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
20
19
|
'ic-azure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
21
|
-
'ic-bg-build': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
22
20
|
'ic-bg-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
|
-
'ic-bg-deploy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
21
|
'ic-bg-environment': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
|
-
'ic-bg-production-pipelines': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
|
-
'ic-bg-project': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
|
-
'ic-bg-scan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
22
|
'ic-bharatpe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
29
23
|
'ic-bitbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
24
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
|
-
'ic-bot': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
25
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
26
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
27
|
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
28
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
|
-
'ic-building': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
29
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
30
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
31
|
'ic-card-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -50,17 +42,13 @@ export declare const iconMap: {
|
|
50
42
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
43
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
44
|
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
|
-
'ic-clipboard': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
54
|
-
'ic-clock-counterclockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
55
45
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
56
46
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
57
47
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
58
48
|
'ic-cloud-vms': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
|
-
'ic-cloud': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
49
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
50
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
51
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
|
-
'ic-coins': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
52
|
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
53
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
66
54
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -68,7 +56,6 @@ export declare const iconMap: {
|
|
68
56
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
57
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
58
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
|
-
'ic-database-backup': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
59
|
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
60
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
61
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -79,7 +66,6 @@ export declare const iconMap: {
|
|
79
66
|
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
67
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
81
68
|
'ic-devtron-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
82
|
-
'ic-devtron-text': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
69
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
70
|
'ic-diff-added': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
71
|
'ic-diff-deleted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -105,18 +91,17 @@ export declare const iconMap: {
|
|
105
91
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
106
92
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
107
93
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
108
|
-
'ic-files-changed': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
109
94
|
'ic-files': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
110
95
|
'ic-filter-applied': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
111
96
|
'ic-filter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
112
97
|
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
113
|
-
'ic-floppy-disk': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
114
|
-
'ic-fluxcd-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
115
98
|
'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
99
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
100
|
'ic-folder': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
101
|
+
'ic-freemium-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
118
102
|
'ic-gavel': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
119
103
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
104
|
+
'ic-gift-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
120
105
|
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
106
|
'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
122
107
|
'ic-git-branch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -152,7 +137,6 @@ export declare const iconMap: {
|
|
152
137
|
'ic-key-enter': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
153
138
|
'ic-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
154
139
|
'ic-kind': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
155
|
-
'ic-kubernetes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
156
140
|
'ic-laptop': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
157
141
|
'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
158
142
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -165,7 +149,6 @@ export declare const iconMap: {
|
|
165
149
|
'ic-locked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
166
150
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
167
151
|
'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
168
|
-
'ic-magic-wand': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
169
152
|
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
170
153
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
171
154
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -196,8 +179,8 @@ export declare const iconMap: {
|
|
196
179
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
197
180
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
198
181
|
'ic-quote': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
182
|
+
'ic-ratings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
199
183
|
'ic-resize-handle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
200
|
-
'ic-right-panel-collapse': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
201
184
|
'ic-rocket-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
202
185
|
'ic-rocket-launch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
203
186
|
'ic-selected': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -224,10 +207,10 @@ export declare const iconMap: {
|
|
224
207
|
'ic-strategy-recreate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
225
208
|
'ic-strategy-rolling-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
226
209
|
'ic-strategy-rolling': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
210
|
+
'ic-success-blue': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
227
211
|
'ic-success': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
228
212
|
'ic-sun': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
229
213
|
'ic-suspended': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
230
|
-
'ic-symbol-greater-than': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
231
214
|
'ic-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
232
215
|
'ic-tata1mg': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
233
216
|
'ic-terminal-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -239,7 +222,6 @@ export declare const iconMap: {
|
|
239
222
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
240
223
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
241
224
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
242
|
-
'ic-trend-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
243
225
|
'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
244
226
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
245
227
|
'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
|
*/
|
@@ -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 { 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,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,
|
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,
|
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'
|
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'
|
191
|
+
export interface TreeViewNodeContentProps extends Pick<BaseNode, 'startIconConfig' | 'title' | 'subtitle' | 'customTooltipConfig' | 'strikeThrough'> {
|
206
192
|
type: 'heading' | 'item';
|
207
193
|
isSelected: boolean;
|
208
194
|
}
|