@devtron-labs/devtron-fe-common-lib 0.0.86-beta-2 → 0.0.86-beta-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/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -2
- package/dist/Common/BreadCrumb/Types.d.ts +0 -4
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +0 -4
- package/dist/Common/Types.d.ts +1 -2
- package/dist/Common/index.d.ts +1 -1
- package/dist/Shared/Components/ReactSelect/index.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/constants.d.ts +1 -0
- package/dist/Shared/types.d.ts +11 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-433c1c77.js → cssMode-a93292aa.js} +1 -1
- package/dist/{freemarker2-9d4953cc.js → freemarker2-4f96513b.js} +1 -1
- package/dist/{handlebars-80e74344.js → handlebars-91b316ea.js} +1 -1
- package/dist/{html-3a6ce8dd.js → html-0ef96b7f.js} +1 -1
- package/dist/{htmlMode-76955cac.js → htmlMode-c7cb128e.js} +1 -1
- package/dist/{index-f7613a22.js → index-f6d97633.js} +12474 -12671
- package/dist/index.js +307 -308
- package/dist/{javascript-3f1091bb.js → javascript-54347635.js} +1 -1
- package/dist/{jsonMode-d88fac37.js → jsonMode-dc66e4c8.js} +1 -1
- package/dist/{liquid-9c30dfd2.js → liquid-a17f188e.js} +1 -1
- package/dist/{mdx-6ffb8bdf.js → mdx-56f6f7e8.js} +1 -1
- package/dist/{python-8b9641b2.js → python-fc7c0e5b.js} +1 -1
- package/dist/{razor-ade53e47.js → razor-e2d1ee22.js} +1 -1
- package/dist/{tsMode-9e595afc.js → tsMode-17e4e4af.js} +1 -1
- package/dist/{typescript-89ff900d.js → typescript-e54ac274.js} +1 -1
- package/dist/{xml-275e33dc.js → xml-951b0bf6.js} +1 -1
- package/dist/{yaml-2595db97.js → yaml-98a14e5e.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +0 -3
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +0 -4
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +0 -8
- package/dist/Shared/Components/FeatureDescription/index.d.ts +0 -2
- package/dist/Shared/Components/FeatureDescription/types.d.ts +0 -19
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +0 -6
- package/dist/Shared/Components/ReactSelect/constants.d.ts +0 -14
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { BreadcrumbTextProps } from './Types';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
|
|
4
|
-
export declare const BreadcrumbText: ({ heading, isActive }: BreadcrumbTextProps) => JSX.Element;
|
|
5
3
|
declare const Store: ({ children }: {
|
|
6
4
|
children: any;
|
|
7
5
|
}) => JSX.Element;
|
|
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
|
|
|
34
34
|
* <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout,
|
|
37
|
+
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
|
|
38
38
|
export default SearchBar;
|
|
@@ -32,10 +32,6 @@ export interface SearchBarProps {
|
|
|
32
32
|
* Timeout for the debounce handler to be triggered
|
|
33
33
|
*/
|
|
34
34
|
debounceTimeout?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Data test id for the search input
|
|
37
|
-
*/
|
|
38
|
-
dataTestId?: string;
|
|
39
35
|
/**
|
|
40
36
|
* Hide the background and border of the search
|
|
41
37
|
*/
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -140,8 +140,7 @@ export interface ErrorScreenNotAuthorizedProps {
|
|
|
140
140
|
}
|
|
141
141
|
export declare enum ImageType {
|
|
142
142
|
Large = "large",
|
|
143
|
-
Medium = "medium"
|
|
144
|
-
SMALL = "small"
|
|
143
|
+
Medium = "medium"
|
|
145
144
|
}
|
|
146
145
|
export interface InfoColourBarType {
|
|
147
146
|
message: React.ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export * from './Modals/OpaqueModal';
|
|
|
14
14
|
export * from './Modals/VisibleModal';
|
|
15
15
|
export * from './Modals/VisibleModal2';
|
|
16
16
|
export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
|
|
17
|
-
export { default as BreadcrumbStore
|
|
17
|
+
export { default as BreadcrumbStore } from './BreadCrumb/BreadcrumbStore';
|
|
18
18
|
export { default as RadioGroup } from './RadioGroup';
|
|
19
19
|
export { default as RadioGroupItem } from './RadioGroupItem';
|
|
20
20
|
export { default as PopupMenu } from './PopupMenu';
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -23,5 +23,6 @@ export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrd
|
|
|
23
23
|
export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
|
|
24
24
|
export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
|
|
25
25
|
export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
26
|
+
export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
|
|
26
27
|
export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
|
|
27
28
|
export {};
|
|
@@ -29,6 +29,7 @@ export declare const ModuleNameMap: {
|
|
|
29
29
|
};
|
|
30
30
|
export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
|
|
31
31
|
export declare const API_TOKEN_PREFIX = "API-TOKEN:";
|
|
32
|
+
export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
|
|
32
33
|
export declare enum PatchOperationType {
|
|
33
34
|
replace = "replace",
|
|
34
35
|
remove = "remove"
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -265,3 +265,14 @@ export declare enum AggregationKeys {
|
|
|
265
265
|
Namespaces = "Namespaces"
|
|
266
266
|
}
|
|
267
267
|
export type AggregationKeysType = keyof typeof AggregationKeys;
|
|
268
|
+
export declare enum GitOpsAuthModeType {
|
|
269
|
+
SSH = "SSH",
|
|
270
|
+
PASSWORD = "PASSWORD"
|
|
271
|
+
}
|
|
272
|
+
export interface BaseGitOpsType {
|
|
273
|
+
authMode: GitOpsAuthModeType;
|
|
274
|
+
sshKey: string;
|
|
275
|
+
sshHost: string;
|
|
276
|
+
username: string;
|
|
277
|
+
}
|
|
278
|
+
export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';
|