@devtron-labs/devtron-fe-common-lib 1.16.0-beta-5 → 1.16.0-pre-0
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-b_sdr086.js → @code-editor-NdRFOYui.js} +8097 -8411
- package/dist/{@common-rjsf-Bs6LFW3z.js → @common-rjsf-BbpJlJFb.js} +2 -2
- package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DjiCMNqQ.js} +1 -1
- package/dist/{@react-dates-BVyHiOGU.js → @react-dates-CfRo6n5e.js} +1 -1
- package/dist/{@react-select-BQNFZu0Y.js → @react-select-DNDV8S9D.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-mXcyQzGx.js} +1 -1
- package/dist/{@vendor-DbxoIktR.js → @vendor-CA9d7Ztm.js} +19076 -19081
- package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Common/Constants.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -19
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
- package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
- package/dist/Common/Modals/VisibleModal.d.ts +0 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
- package/dist/Common/Pagination/constants.d.ts +0 -4
- package/dist/Common/Pagination/index.d.ts +0 -1
- package/dist/Common/PopupMenu.d.ts +1 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -46
- package/dist/Pages/ResourceBrowser/constants.d.ts +0 -2
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
- package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
- package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
- package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
- package/dist/Shared/Components/BulkSelection/types.d.ts +9 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/types.d.ts +3 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
- package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Popover/types.d.ts +2 -3
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
- package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
- package/dist/Shared/Components/Table/constants.d.ts +0 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +20 -47
- package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
- package/dist/Shared/Components/Table/utils.d.ts +0 -5
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
- package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
- package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Helpers.d.ts +1 -2
- package/dist/Shared/Providers/index.d.ts +2 -0
- package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
- package/dist/Shared/Services/types.d.ts +0 -1
- package/dist/Shared/types.d.ts +2 -13
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/change-source.abc9d12f.png +0 -0
- package/dist/assets/ic-check-all.0376437d.svg +21 -0
- package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
- package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
- package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
- package/dist/assets/ic-source-build.7d776b10.svg +22 -0
- package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
- package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
- package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
- package/dist/assets/select-image-source.fb911f42.png +0 -0
- package/dist/index.js +700 -709
- package/package.json +1 -2
- package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
- package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
- package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
- package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
- package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
- package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
- package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
- package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
- package/dist/assets/ic-check-square.e355731d.svg +0 -4
- package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
- package/dist/assets/ic-container.92a4c33a.svg +0 -3
- package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
- package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
- package/dist/assets/ic-download.468a0cb7.svg +0 -3
- package/dist/assets/ic-file-code.0926d194.svg +0 -3
- package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
- package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
- package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
- package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
- package/dist/assets/ic-logs.d310db72.svg +0 -3
- package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
- package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
- package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
- package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
- package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
- /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
- /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,2 +1,2 @@
|
|
1
1
|
import { CheckboxProps } from '../Types';
|
2
|
-
export declare const Checkbox:
|
2
|
+
export declare const Checkbox: ({ rootClassName, onClick, name, disabled, value, onChange, tabIndex, isChecked, id, dataTestId, children, }: CheckboxProps) => JSX.Element;
|
@@ -63,7 +63,6 @@ export declare const URLS: {
|
|
63
63
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
64
64
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
65
65
|
readonly LICENSE_AUTH: "/license-auth";
|
66
|
-
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
|
67
66
|
};
|
68
67
|
export declare const ROUTES: {
|
69
68
|
readonly APP: "app";
|
@@ -294,7 +293,6 @@ export declare const API_STATUS_CODES: {
|
|
294
293
|
NOT_FOUND: number;
|
295
294
|
REQUEST_TIMEOUT: number;
|
296
295
|
CONFLICT: number;
|
297
|
-
PRE_CONDITION_FAILED: number;
|
298
296
|
EXPECTATION_FAILED: number;
|
299
297
|
UNPROCESSABLE_ENTITY: number;
|
300
298
|
LOCKED: number;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { UseRegisterShortcutProviderType } from './types';
|
2
|
-
declare const UseRegisterShortcutProvider: ({
|
2
|
+
declare const UseRegisterShortcutProvider: ({ ignoreTags, preventDefault, shortcutTimeout, children, }: UseRegisterShortcutProviderType) => JSX.Element;
|
3
3
|
export default UseRegisterShortcutProvider;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { FocusEvent, KeyboardEvent } from 'react';
|
2
1
|
export declare const KEYBOARD_KEYS_MAP: {
|
3
2
|
readonly Control: "Ctrl";
|
4
3
|
readonly Shift: "⇧";
|
@@ -10,7 +9,6 @@ export declare const KEYBOARD_KEYS_MAP: {
|
|
10
9
|
readonly K: "K";
|
11
10
|
readonly X: "X";
|
12
11
|
readonly A: "A";
|
13
|
-
readonly N: "N";
|
14
12
|
readonly Escape: "Esc";
|
15
13
|
readonly Enter: "↩";
|
16
14
|
readonly ArrowLeft: "←";
|
@@ -56,25 +54,8 @@ export interface UseRegisterShortcutContextType {
|
|
56
54
|
* Programmatically trigger a shortcut if already registered
|
57
55
|
*/
|
58
56
|
triggerShortcut: (keys: ShortcutType['keys']) => void;
|
59
|
-
/**
|
60
|
-
* If shouldHookOntoWindow is false, these props need to be hooked onto
|
61
|
-
* the component that needs to listen to the shortcuts
|
62
|
-
*/
|
63
|
-
targetProps?: {
|
64
|
-
onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
|
65
|
-
onKeyUp: (event: KeyboardEvent<HTMLElement>) => void;
|
66
|
-
onBlur: (event: FocusEvent<HTMLElement>) => void;
|
67
|
-
};
|
68
57
|
}
|
69
58
|
export interface UseRegisterShortcutProviderType {
|
70
|
-
/**
|
71
|
-
* If false, the shortcuts will not be registered to the window object
|
72
|
-
* instead onKeyDown, onKeyUp and onBlur will be exposed as context methods
|
73
|
-
* which need to be hooked onto the component that needs to listen to the shortcuts
|
74
|
-
*
|
75
|
-
* defaults to true
|
76
|
-
*/
|
77
|
-
shouldHookOntoWindow?: boolean;
|
78
59
|
children: React.ReactNode;
|
79
60
|
/**
|
80
61
|
* Defines how long after holding the keys down do we trigger the callback in milliseconds
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("
|
3
|
+
keys: ("R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { UseUrlFiltersProps, UseUrlFiltersReturnType } from '../useUrlFilters';
|
2
|
-
export interface UseStateFiltersProps<T> extends Pick<UseUrlFiltersProps<T, never>, 'initialSortKey'
|
2
|
+
export interface UseStateFiltersProps<T> extends Pick<UseUrlFiltersProps<T, never>, 'initialSortKey'> {
|
3
3
|
}
|
4
|
-
export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'changePage' | 'changePageSize' | 'offset' | 'pageSize' | 'searchKey' | 'handleSearch' | '
|
4
|
+
export interface UseStateFiltersReturnType<T> extends Pick<UseUrlFiltersReturnType<T>, 'sortBy' | 'sortOrder' | 'handleSorting' | 'clearFilters' | 'changePage' | 'changePageSize' | 'offset' | 'pageSize' | 'searchKey' | 'handleSearch' | 'isFilterApplied'> {
|
5
5
|
}
|
6
6
|
export interface PaginationType<T> extends Pick<UseUrlFiltersReturnType<T>, 'pageSize'> {
|
7
7
|
pageNumber: number;
|
@@ -12,5 +12,5 @@ import { UseStateFiltersProps, UseStateFiltersReturnType } from './types';
|
|
12
12
|
*
|
13
13
|
* To be extended to be used with pagination and search as and when required
|
14
14
|
*/
|
15
|
-
declare const useStateFilters: <T = string>({ initialSortKey,
|
15
|
+
declare const useStateFilters: <T = string>({ initialSortKey, }?: UseStateFiltersProps<T>) => UseStateFiltersReturnType<T>;
|
16
16
|
export default useStateFilters;
|
@@ -18,7 +18,6 @@ export interface UseUrlFiltersProps<T, K extends {}> {
|
|
18
18
|
* @default 'replace'
|
19
19
|
*/
|
20
20
|
redirectionMethod?: 'replace' | 'push';
|
21
|
-
defaultPageSize?: number;
|
22
21
|
}
|
23
22
|
export type UpdateSearchParamsOptionsType<T, K = {}> = Partial<Pick<UseUrlFiltersProps<T, K>, 'redirectionMethod'>>;
|
24
23
|
export type UseUrlFiltersReturnType<T, K = {}> = K & {
|
@@ -68,5 +67,5 @@ export type UseUrlFiltersReturnType<T, K = {}> = K & {
|
|
68
67
|
* Update the search params with the passed object
|
69
68
|
*/
|
70
69
|
updateSearchParams: (paramsToSerialize: Partial<K>, options?: UpdateSearchParamsOptionsType<T, K>) => void;
|
71
|
-
|
70
|
+
isFilterApplied: boolean;
|
72
71
|
};
|
@@ -16,5 +16,5 @@ import { UseUrlFiltersProps, UseUrlFiltersReturnType } from './types';
|
|
16
16
|
* ```
|
17
17
|
*
|
18
18
|
*/
|
19
|
-
declare const useUrlFilters: <T = string, K = {}>({ initialSortKey, parseSearchParams, localStorageKey, redirectionMethod,
|
19
|
+
declare const useUrlFilters: <T = string, K = {}>({ initialSortKey, parseSearchParams, localStorageKey, redirectionMethod, }?: UseUrlFiltersProps<T, K>) => UseUrlFiltersReturnType<T, K>;
|
20
20
|
export default useUrlFilters;
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
1
|
import { PopupMenuBodyType, PopupMenuButtonType, PopupMenuType } from './Types';
|
3
2
|
declare const PopupMenu: {
|
4
3
|
({ children, onToggleCallback, autoClose, autoPosition, shouldPreventDefault, }: PopupMenuType): any;
|
5
|
-
Button:
|
4
|
+
Button: ({ children, disabled, rootClassName, tabIndex, onHover, isKebab, dataTestId, }: PopupMenuButtonType) => JSX.Element;
|
6
5
|
Body: ({ children, rootClassName, style, autoWidth, preventWheelDisable, noBackDrop, }: PopupMenuBodyType) => JSX.Element;
|
7
6
|
};
|
8
7
|
export default PopupMenu;
|
@@ -1,11 +1,3 @@
|
|
1
1
|
import { SelectPickerOptionType } from '../../../../../Shared/Components';
|
2
2
|
export declare const IO_VARIABLES_VALUE_COLUMN_BOOL_OPTIONS: SelectPickerOptionType<string>[];
|
3
3
|
export declare const IO_VARIABLES_VALUE_COLUMN_DATE_OPTIONS: SelectPickerOptionType<string>[];
|
4
|
-
export declare const VALUE_COLUMN_DROPDOWN_LABEL: {
|
5
|
-
readonly CHOICES: "Choices";
|
6
|
-
readonly SUPPORTED_DATE_FORMATS: "Supported date formats";
|
7
|
-
readonly SYSTEM_VARIABLES: "System variables";
|
8
|
-
readonly PRE_BUILD_STAGE: "From Pre-build Stage";
|
9
|
-
readonly POST_BUILD_STAGE: "From Post-build Stage";
|
10
|
-
readonly PREVIOUS_STEPS: "From Previous Steps";
|
11
|
-
};
|
@@ -1,7 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import { GroupBase } from 'react-select';
|
3
|
-
import { ServerErrors } from '../../Common/ServerError';
|
4
|
-
import { SelectPickerOptionType } from '../../Shared/Components';
|
1
|
+
import { RefObject } from 'react';
|
5
2
|
import { Nodes, NodeType } from '../../Shared/types';
|
6
3
|
export interface GVKType {
|
7
4
|
Group: string;
|
@@ -37,37 +34,14 @@ export interface K8sResourceListPayloadType {
|
|
37
34
|
filter?: string;
|
38
35
|
k8sRequest: ResourceListPayloadK8sRequestType;
|
39
36
|
}
|
40
|
-
export declare enum ResourceRecommenderHeaderType {
|
41
|
-
NAME = "name",
|
42
|
-
NAMESPACE = "namespace",
|
43
|
-
KIND = "kind",
|
44
|
-
API_VERSION = "apiVersion",
|
45
|
-
CONTAINER_NAME = "containerName",
|
46
|
-
CPU_REQUEST = "cpuRequest",
|
47
|
-
CPU_LIMIT = "cpuLimit",
|
48
|
-
MEMORY_REQUEST = "memoryRequest",
|
49
|
-
MEMORY_LIMIT = "memoryLimit"
|
50
|
-
}
|
51
|
-
export type ResourceRecommenderHeaderWithStringValue = Extract<ResourceRecommenderHeaderType, ResourceRecommenderHeaderType.NAME | ResourceRecommenderHeaderType.NAMESPACE | ResourceRecommenderHeaderType.KIND | ResourceRecommenderHeaderType.API_VERSION | ResourceRecommenderHeaderType.CONTAINER_NAME>;
|
52
|
-
export type ResourceRecommenderHeaderWithRecommendation = Extract<ResourceRecommenderHeaderType, ResourceRecommenderHeaderType.CPU_REQUEST | ResourceRecommenderHeaderType.CPU_LIMIT | ResourceRecommenderHeaderType.MEMORY_REQUEST | ResourceRecommenderHeaderType.MEMORY_LIMIT>;
|
53
37
|
export type K8sResourceDetailDataType = {
|
54
38
|
[key: string]: string | number | object | boolean;
|
55
|
-
additionalMetadata?: Partial<Record<ResourceRecommenderHeaderWithRecommendation, {
|
56
|
-
current: {
|
57
|
-
value: string | 'none';
|
58
|
-
} | null;
|
59
|
-
recommended: {
|
60
|
-
value: string | 'none';
|
61
|
-
} | null;
|
62
|
-
delta: number | null;
|
63
|
-
}>>;
|
64
39
|
};
|
65
40
|
export interface K8sResourceDetailType {
|
66
41
|
headers: string[];
|
67
42
|
data: K8sResourceDetailDataType[];
|
68
43
|
}
|
69
44
|
export interface BulkSelectionActionWidgetProps {
|
70
|
-
isResourceRecommendationView: boolean;
|
71
45
|
count: number;
|
72
46
|
handleOpenBulkDeleteModal: () => void;
|
73
47
|
handleClearBulkSelection: () => void;
|
@@ -75,12 +49,11 @@ export interface BulkSelectionActionWidgetProps {
|
|
75
49
|
handleOpenUncordonNodeModal: () => void;
|
76
50
|
handleOpenDrainNodeModal: () => void;
|
77
51
|
handleOpenRestartWorkloadModal: () => void;
|
78
|
-
handleOpenApplyResourceRecommendationModal: () => void;
|
79
52
|
parentRef: RefObject<HTMLDivElement>;
|
80
53
|
showBulkRestartOption: boolean;
|
81
54
|
showNodeListingOptions: boolean;
|
82
55
|
}
|
83
|
-
export type RBBulkOperationType = 'restart' | 'delete' | 'cordon' | 'uncordon' | 'drain'
|
56
|
+
export type RBBulkOperationType = 'restart' | 'delete' | 'cordon' | 'uncordon' | 'drain';
|
84
57
|
export interface CreateResourceRequestBodyType {
|
85
58
|
appId: string;
|
86
59
|
clusterId: number;
|
@@ -92,7 +65,6 @@ export interface CreateResourceRequestBodyType {
|
|
92
65
|
export interface ResourceManifestDTO {
|
93
66
|
manifestResponse: {
|
94
67
|
manifest: Record<string, unknown>;
|
95
|
-
recommendedManifest?: Record<string, unknown>;
|
96
68
|
};
|
97
69
|
secretViewAccess: boolean;
|
98
70
|
}
|
@@ -136,20 +108,4 @@ export interface NodeActionRequest {
|
|
136
108
|
version: string;
|
137
109
|
kind: string;
|
138
110
|
}
|
139
|
-
export interface GVKOptionValueType {
|
140
|
-
kind: string;
|
141
|
-
apiVersion: string;
|
142
|
-
}
|
143
|
-
export interface GetResourceRecommenderResourceListPropsType {
|
144
|
-
setShowAbsoluteValuesInResourceRecommender: Dispatch<SetStateAction<boolean>>;
|
145
|
-
showAbsoluteValuesInResourceRecommender: boolean;
|
146
|
-
gvkOptions: GroupBase<SelectPickerOptionType<GVKOptionValueType>>[];
|
147
|
-
areGVKOptionsLoading: boolean;
|
148
|
-
reloadGVKOptions: () => void;
|
149
|
-
gvkOptionsError: ServerErrors;
|
150
|
-
}
|
151
|
-
export interface ResourceRecommenderActionMenuProps {
|
152
|
-
children: ReactNode;
|
153
|
-
lastScannedOn: string;
|
154
|
-
}
|
155
111
|
export {};
|
@@ -2,7 +2,7 @@ import { APIOptions, ResponseType } from '../../Common/Types';
|
|
2
2
|
import { CreateResourceDTO, CreateResourcePayload, K8sResourceDetailType, K8sResourceListPayloadType, NodeActionRequest, ResourceListPayloadType, ResourceType } from './ResourceBrowser.Types';
|
3
3
|
import { ClusterDetail, NodeCordonRequest } from './types';
|
4
4
|
export declare const getK8sResourceList: (resourceListPayload: K8sResourceListPayloadType, signal?: AbortSignal) => Promise<ResponseType<K8sResourceDetailType>>;
|
5
|
-
export declare const createNewResource: (resourceListPayload: CreateResourcePayload
|
5
|
+
export declare const createNewResource: (resourceListPayload: CreateResourcePayload) => Promise<ResponseType<CreateResourceDTO[]>>;
|
6
6
|
export declare const deleteResource: (resourceListPayload: ResourceListPayloadType, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType<ResourceType[]>>;
|
7
7
|
export declare const deleteNodeCapacity: (requestPayload: NodeActionRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
|
8
8
|
export declare const cordonNodeCapacity: (requestPayload: NodeCordonRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
declare const AboutDevtronDialog: ({ handleCloseLicenseInfoDialog }: {
|
1
|
+
declare const AboutDevtronDialog: ({ handleCloseLicenseInfoDialog, isFELibAvailable, }: {
|
2
2
|
handleCloseLicenseInfoDialog: () => void;
|
3
|
+
isFELibAvailable: boolean;
|
3
4
|
}) => JSX.Element;
|
4
5
|
export default AboutDevtronDialog;
|
@@ -13,7 +13,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
13
13
|
triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
14
14
|
bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
|
15
15
|
};
|
16
|
-
overlayProps:
|
16
|
+
overlayProps: import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
17
17
|
popoverProps: {
|
18
18
|
slot?: string;
|
19
19
|
title?: string;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { AnimatedDeployButtonProps } from './types';
|
2
|
-
declare const AnimatedDeployButton: ({
|
2
|
+
declare const AnimatedDeployButton: ({ isLoading, isVirtualEnvironment, onButtonClick, exceptionUserConfig, isBulkCDTrigger, }: AnimatedDeployButtonProps) => JSX.Element;
|
3
3
|
export default AnimatedDeployButton;
|
@@ -1,6 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
export interface AnimatedDeployButtonProps {
|
2
|
+
isLoading?: boolean;
|
3
|
+
isVirtualEnvironment: boolean;
|
4
|
+
onButtonClick: (e: any, disableDeployButton: boolean) => void;
|
5
|
+
exceptionUserConfig?: {
|
6
|
+
canDeploy: boolean;
|
7
|
+
isImageApprover: boolean;
|
8
|
+
};
|
9
|
+
isBulkCDTrigger?: boolean;
|
6
10
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BackdropProps } from './types';
|
2
|
-
declare const Backdrop: ({ children, onEscape
|
2
|
+
declare const Backdrop: ({ children, onEscape }: BackdropProps) => import('react').ReactPortal;
|
3
3
|
export default Backdrop;
|
@@ -1,34 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export interface BackdropProps {
|
3
|
-
/**
|
4
|
-
* The content to be rendered within the backdrop component.
|
5
|
-
*/
|
6
3
|
children: ReactNode;
|
7
4
|
/**
|
8
|
-
*
|
9
|
-
* Should be wrapped in useCallback to prevent unnecessary re-renders.
|
10
|
-
* @example
|
11
|
-
* const handleEscape = useCallback(() => {
|
12
|
-
* // Handle escape key press
|
13
|
-
* }, []);
|
5
|
+
* @param onEscape: please wrap in a useCallback, with respective dependencies or []
|
14
6
|
*/
|
15
7
|
onEscape: () => void;
|
16
|
-
/**
|
17
|
-
* Callback function that gets triggered when the backdrop is clicked.
|
18
|
-
* Useful for dismissing modals or other overlay content.
|
19
|
-
* @param e - The mouse event object from the click interaction
|
20
|
-
*/
|
21
|
-
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
|
22
|
-
/**
|
23
|
-
* Determines if the backdrop should be transparent.
|
24
|
-
* When true, the backdrop will not have any background color or blur filter.
|
25
|
-
* @default false
|
26
|
-
*/
|
27
|
-
hasClearBackground?: boolean;
|
28
|
-
/**
|
29
|
-
* Callback function that gets triggered when the backdrop component mounts or unmounts.
|
30
|
-
* This can be used to perform side effects or state updates when the backdrop's visibility changes.
|
31
|
-
* @param isMounted - A boolean indicating whether the backdrop is currently mounted (true) or not (false)
|
32
|
-
*/
|
33
|
-
onBackdropMount?: (isMounted: boolean) => void;
|
34
8
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BulkSelectionProps } from './types';
|
2
|
-
declare const BulkSelection:
|
2
|
+
declare const BulkSelection: <T>({ showPagination, disabled, showChevronDownIcon }: BulkSelectionProps) => JSX.Element;
|
3
3
|
export default BulkSelection;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { BulkSelectionDropdownItemsProps } from './types';
|
2
|
+
declare const BulkSelectionDropdownItems: <T>({ locator, label, isSelected, handleBulkSelection, icon: Icon, iconClass, }: BulkSelectionDropdownItemsProps<T>) => JSX.Element;
|
3
|
+
export default BulkSelectionDropdownItems;
|
@@ -33,7 +33,15 @@ export interface BulkSelectionProps {
|
|
33
33
|
*/
|
34
34
|
showChevronDownIcon?: boolean;
|
35
35
|
disabled?: boolean;
|
36
|
-
|
36
|
+
}
|
37
|
+
export interface BulkSelectionDropdownItemsType {
|
38
|
+
locator: BulkSelectionEvents;
|
39
|
+
label: string;
|
40
|
+
isSelected: boolean;
|
41
|
+
icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
42
|
+
iconClass?: string;
|
43
|
+
}
|
44
|
+
export interface BulkSelectionDropdownItemsProps<T> extends BulkSelectionDropdownItemsType, Pick<UseBulkSelectionReturnType<T>, 'handleBulkSelection'> {
|
37
45
|
}
|
38
46
|
export declare enum SelectAllDialogStatus {
|
39
47
|
OPEN = "OPEN",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
3
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
4
4
|
import { ComponentSizeType } from '../../constants';
|
5
5
|
export declare enum ButtonVariantType {
|
6
6
|
primary = "primary",
|
@@ -112,7 +112,7 @@ export type ButtonProps<ComponentType extends ButtonComponentType = ButtonCompon
|
|
112
112
|
/**
|
113
113
|
* If true, the tooltip is shown for the button
|
114
114
|
*/
|
115
|
-
showTooltip
|
115
|
+
showTooltip: boolean;
|
116
116
|
/**
|
117
117
|
* Props for tooltip
|
118
118
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
4
|
+
import { TooltipProps } from '../../../Common/Tooltip/types';
|
5
5
|
import { FileUploadProps } from '../FileUpload';
|
6
6
|
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { GettingStartedType } from './types';
|
2
|
-
declare const GettingStartedCard: ({ hideGettingStartedCard }: GettingStartedType) => JSX.Element;
|
2
|
+
declare const GettingStartedCard: ({ className, hideGettingStartedCard }: GettingStartedType) => JSX.Element;
|
3
3
|
export default GettingStartedCard;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { HelpButtonProps } from './types';
|
2
|
-
export declare const HelpButton: ({ serverInfo, fetchingServerInfo, onClick
|
2
|
+
export declare const HelpButton: ({ serverInfo, fetchingServerInfo, onClick }: HelpButtonProps) => JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { PageHeaderType } from './types';
|
2
|
-
declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, tippyProps, }: PageHeaderType) => JSX.Element;
|
2
|
+
declare const PageHeader: ({ headerName, additionalHeaderInfo, showTabs, renderHeaderTabs, isBreadcrumbs, breadCrumbs, renderActionButtons, showCloseButton, onClose, markAsBeta, tippyProps, }: PageHeaderType) => JSX.Element;
|
3
3
|
export default PageHeader;
|
@@ -10,6 +10,9 @@ export interface PageHeaderType {
|
|
10
10
|
isBreadcrumbs?: boolean;
|
11
11
|
breadCrumbs?: () => JSX.Element;
|
12
12
|
renderActionButtons?: () => JSX.Element;
|
13
|
+
showCloseButton?: boolean;
|
14
|
+
onClose?: () => void;
|
15
|
+
markAsBeta?: boolean;
|
13
16
|
tippyProps?: Pick<TippyCustomizedProps<false>, 'additionalContent'> & {
|
14
17
|
isTippyCustomized?: boolean;
|
15
18
|
tippyRedirectLink?: keyof typeof DOCUMENTATION;
|
@@ -31,7 +34,6 @@ export interface HelpButtonProps {
|
|
31
34
|
serverInfo: ServerInfo;
|
32
35
|
fetchingServerInfo: boolean;
|
33
36
|
onClick: () => void;
|
34
|
-
hideGettingStartedCard: () => void;
|
35
37
|
}
|
36
38
|
export declare enum HelpMenuItems {
|
37
39
|
GETTING_STARTED = "getting-started",
|
@@ -22,7 +22,6 @@ export declare const iconMap: {
|
|
22
22
|
'ic-book-open': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
23
23
|
'ic-brain': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
24
24
|
'ic-browser': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
25
|
-
'ic-bug': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
26
25
|
'ic-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
27
26
|
'ic-calendar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
28
27
|
'ic-cancelled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -33,13 +32,11 @@ export declare const iconMap: {
|
|
33
32
|
'ic-cd': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
33
|
'ic-chat-circle-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
35
34
|
'ic-chat-circle-online': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
36
|
-
'ic-check-all': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
|
-
'ic-check-square': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
35
|
'ic-check': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
36
|
'ic-checks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
37
|
'ic-ci-linked': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
|
+
'ic-ci-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
39
|
'ic-circle-loader': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
42
|
-
'ic-clean-brush': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
43
40
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
41
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
42
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -47,7 +44,6 @@ export declare const iconMap: {
|
|
47
44
|
'ic-cluster-isolated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
45
|
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
46
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
50
|
-
'ic-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
47
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
52
48
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
53
49
|
'ic-copy': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -58,8 +54,6 @@ export declare const iconMap: {
|
|
58
54
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
59
55
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
60
56
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
61
|
-
'ic-deploy-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
62
|
-
'ic-deploy-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
63
57
|
'ic-devtron-ai': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
64
58
|
'ic-devtron-app': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
65
59
|
'ic-devtron-header-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -68,7 +62,6 @@ export declare const iconMap: {
|
|
68
62
|
'ic-disconnect': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
69
63
|
'ic-discord-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
70
64
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
71
|
-
'ic-download': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
72
65
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
73
66
|
'ic-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
74
67
|
'ic-email': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -82,7 +75,6 @@ export declare const iconMap: {
|
|
82
75
|
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
83
76
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
84
77
|
'ic-fast-forward': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
85
|
-
'ic-file-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
86
78
|
'ic-file-edit': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
87
79
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
88
80
|
'ic-file': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -92,11 +84,9 @@ export declare const iconMap: {
|
|
92
84
|
'ic-flask': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
93
85
|
'ic-folder-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
94
86
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
95
|
-
'ic-gavel': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
96
87
|
'ic-gear': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
97
88
|
'ic-gift-gradient': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
98
89
|
'ic-gift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
99
|
-
'ic-git-branch': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
100
90
|
'ic-git': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
101
91
|
'ic-github': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
102
92
|
'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -115,7 +105,6 @@ export declare const iconMap: {
|
|
115
105
|
'ic-hibernate-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
116
106
|
'ic-hibernate': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
117
107
|
'ic-in-progress': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
118
|
-
'ic-info-filled-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
119
108
|
'ic-info-filled': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
120
109
|
'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
121
110
|
'ic-install': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -130,10 +119,8 @@ export declare const iconMap: {
|
|
130
119
|
'ic-lego': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
131
120
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
132
121
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
133
|
-
'ic-linked-build-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
134
122
|
'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
135
123
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
136
|
-
'ic-logs': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
137
124
|
'ic-magnifying-glass': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
138
125
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
139
126
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -158,7 +145,6 @@ export declare const iconMap: {
|
|
158
145
|
'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
159
146
|
'ic-paper-plane': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
160
147
|
'ic-path': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
161
|
-
'ic-pause-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
162
148
|
'ic-pencil': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
163
149
|
'ic-play-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
164
150
|
'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -174,7 +160,6 @@ export declare const iconMap: {
|
|
174
160
|
'ic-sortable': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
175
161
|
'ic-sparkle-ai-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
176
162
|
'ic-sparkle-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
177
|
-
'ic-speedometer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
178
163
|
'ic-spinny': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
179
164
|
'ic-spray-can': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
180
165
|
'ic-stack': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -201,7 +186,6 @@ export declare const iconMap: {
|
|
201
186
|
'ic-timer': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
202
187
|
'ic-traffic-signal': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
203
188
|
'ic-travclan': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
204
|
-
'ic-two-cubes': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
205
189
|
'ic-ubuntu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
206
190
|
'ic-unknown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
207
191
|
'ic-user-circle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -209,7 +193,6 @@ export declare const iconMap: {
|
|
209
193
|
'ic-users': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
210
194
|
'ic-view-variable-toggle': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
211
195
|
'ic-warning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
212
|
-
'ic-webhook': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
213
196
|
'ic-wifi-slash': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
214
197
|
'ic-world-globe': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
215
198
|
};
|
@@ -4,5 +4,4 @@ import { InfoBlockProps } from './types';
|
|
4
4
|
export declare const VARIANT_TO_ICON_MAP: Record<InfoBlockVariant, InfoBlockProps['customIcon']>;
|
5
5
|
export declare const CONTAINER_SIZE_TO_CLASS_MAP: Record<InfoBlockProps['size'], string>;
|
6
6
|
export declare const SIZE_TO_ICON_CLASS_MAP: Record<InfoBlockProps['size'], string>;
|
7
|
-
export declare const
|
8
|
-
export declare const CONTAINER_SIZE_TO_ICON_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
|
7
|
+
export declare const CONTAINER_SIZE_TO_BUTTON_SIZE: Record<InfoBlockProps['size'], ButtonProps['size']>;
|