@devtron-labs/devtron-fe-common-lib 0.1.8-beta-18 → 0.1.8-beta-20
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/Constants.d.ts +1 -0
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithSelector/types.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +7 -2
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/Shared/types.d.ts +0 -6
- package/dist/{cssMode-38f46da5.js → cssMode-b1b49a25.js} +1 -1
- package/dist/{freemarker2-3a1905e7.js → freemarker2-fec78072.js} +1 -1
- package/dist/{handlebars-ce298da6.js → handlebars-4e065c5d.js} +1 -1
- package/dist/{html-8ab136f7.js → html-74ecac95.js} +1 -1
- package/dist/{htmlMode-78e96118.js → htmlMode-e42c220d.js} +1 -1
- package/dist/{index-cfc3b5bc.js → index-f1843651.js} +10872 -10857
- package/dist/index.js +354 -355
- package/dist/{javascript-78bc74a3.js → javascript-99c15d8f.js} +1 -1
- package/dist/{jsonMode-13f2ddea.js → jsonMode-e7acfa2b.js} +1 -1
- package/dist/{liquid-39c153be.js → liquid-296c2e2f.js} +1 -1
- package/dist/{mdx-d50fd03d.js → mdx-b2f8abac.js} +1 -1
- package/dist/{python-e74e4686.js → python-37696b7e.js} +1 -1
- package/dist/{razor-511648f3.js → razor-8531df52.js} +1 -1
- package/dist/{tsMode-b8dbb316.js → tsMode-05d69270.js} +1 -1
- package/dist/{typescript-6a50be81.js → typescript-d602f88c.js} +1 -1
- package/dist/{xml-14a35ff2.js → xml-f29754e3.js} +1 -1
- package/dist/{yaml-43eb6852.js → yaml-56dd6c16.js} +1 -1
- package/package.json +1 -1
package/dist/Common/Types.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ import { ButtonWithSelectorProps } from './types';
|
|
|
14
14
|
* </ButtonWithSelector>
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled,
|
|
17
|
+
declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, }: ButtonWithSelectorProps) => JSX.Element;
|
|
18
18
|
export default ButtonWithSelector;
|
|
@@ -5,7 +5,6 @@ export { default as CDEmptyState } from './CDEmptyState';
|
|
|
5
5
|
export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
|
|
6
6
|
export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
|
|
7
7
|
export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
|
|
8
|
-
export { default as DetectBottom } from './DetectBottom';
|
|
9
8
|
export * from './types';
|
|
10
9
|
export * from './service';
|
|
11
10
|
export * from './History.components';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DescriptorProps } from './types';
|
|
2
2
|
|
|
3
|
-
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, }: DescriptorProps) => JSX.Element;
|
|
3
|
+
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, }: DescriptorProps) => JSX.Element;
|
|
4
4
|
export default FeatureTitleWithInfo;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
1
2
|
import { ImageType } from '../../../Common';
|
|
2
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
3
4
|
|
|
4
5
|
export interface FeatureDescriptionModalProps {
|
|
5
6
|
title: string;
|
|
6
|
-
renderDescriptionContent?: () =>
|
|
7
|
+
renderDescriptionContent?: () => ReactNode;
|
|
7
8
|
closeModalText?: string;
|
|
8
9
|
docLink?: string;
|
|
9
10
|
closeModal?: () => void;
|
|
@@ -12,8 +13,12 @@ export interface FeatureDescriptionModalProps {
|
|
|
12
13
|
imageStyles?: React.CSSProperties;
|
|
13
14
|
}
|
|
14
15
|
export interface DescriptorProps extends FeatureDescriptionModalProps {
|
|
15
|
-
breadCrumbs
|
|
16
|
+
breadCrumbs?: Breadcrumb[];
|
|
16
17
|
additionalContainerClasses?: string;
|
|
17
18
|
iconClassName?: string;
|
|
18
19
|
children?: React.ReactNode;
|
|
20
|
+
showInfoIconTippy?: boolean;
|
|
21
|
+
docLinkText?: string;
|
|
22
|
+
dataTestId?: string;
|
|
23
|
+
additionalContent?: ReactNode;
|
|
19
24
|
}
|
|
@@ -31,7 +31,6 @@ 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
32
|
export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
|
|
33
33
|
export declare enum PatchOperationType {
|
|
34
|
-
add = "add",
|
|
35
34
|
replace = "replace",
|
|
36
35
|
remove = "remove"
|
|
37
36
|
}
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -336,12 +336,6 @@ export type PatchQueryType<T extends string, K = unknown> = {
|
|
|
336
336
|
*/
|
|
337
337
|
op: PatchOperationType.remove;
|
|
338
338
|
value?: never;
|
|
339
|
-
} | {
|
|
340
|
-
/**
|
|
341
|
-
* Operation type for add
|
|
342
|
-
*/
|
|
343
|
-
op: PatchOperationType.add;
|
|
344
|
-
value?: K;
|
|
345
339
|
});
|
|
346
340
|
export interface GroupedOptionsType {
|
|
347
341
|
label: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ne } from "./index-
|
|
4
|
+
import { m as Ne } from "./index-f1843651.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as F } from "./index-
|
|
1
|
+
import { m as F } from "./index-f1843651.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as i } from "./index-
|
|
1
|
+
import { m as i } from "./index-f1843651.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as d } from "./index-
|
|
1
|
+
import { m as d } from "./index-f1843651.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
2
|
var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-f1843651.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|