@devtron-labs/devtron-fe-common-lib 1.1.6-beta-6 → 1.1.6-beta-7
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/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
- package/dist/Shared/Components/FeatureDescription/types.d.ts +34 -6
- package/dist/Shared/types.d.ts +1 -1
- package/dist/{cssMode-D11O2E1k.js → cssMode-4JPSglnG.js} +1 -1
- package/dist/{freemarker2-C51qAKbA.js → freemarker2-BMw9Mv8J.js} +1 -1
- package/dist/{handlebars-CsLZABhp.js → handlebars-d6ss1Geg.js} +1 -1
- package/dist/{html-Ia2rtvLv.js → html-Qg-0dGon.js} +1 -1
- package/dist/{htmlMode-D6P0aWy3.js → htmlMode-bhcVoIBD.js} +1 -1
- package/dist/{index-z1VqANAp.js → index-ASicQk-O.js} +14454 -14390
- package/dist/index.js +1 -1
- package/dist/{javascript-DJ_G6r3r.js → javascript-CAvttrsZ.js} +1 -1
- package/dist/{jsonMode-CiHBkSy6.js → jsonMode-BdWwyvcP.js} +1 -1
- package/dist/{liquid-x1bT-8OB.js → liquid-DFXuNMd7.js} +1 -1
- package/dist/{mdx-_kU6hLlT.js → mdx-DIQa4ymt.js} +1 -1
- package/dist/{python-np82lYk3.js → python-CiWT3996.js} +1 -1
- package/dist/{razor-C3FwPvAF.js → razor-4KQAS4T4.js} +1 -1
- package/dist/{tsMode-rksQTKEo.js → tsMode-mvojMw6q.js} +1 -1
- package/dist/{typescript-Dj_9rN80.js → typescript-BLrlcYeG.js} +1 -1
- package/dist/{xml-CsQwE1Dg.js → xml-YLsLey87.js} +1 -1
- package/dist/{yaml-BROpCidz.js → yaml-DAgYcR3p.js} +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FeatureDescriptionModalProps } from './types';
|
|
2
|
-
export declare const FeatureDescriptionModal: ({ title, renderDescriptionContent, closeModalText, docLink, closeModal, imageVariant, SVGImage, imageStyles, }: FeatureDescriptionModalProps) => JSX.Element;
|
|
2
|
+
export declare const FeatureDescriptionModal: ({ title, renderDescriptionContent, closeModalText, docLink, closeModal, imageVariant, SVGImage, imageStyles, tabsConfig, }: FeatureDescriptionModalProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DescriptorProps } from './types';
|
|
2
|
-
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, showInfoIcon, }: DescriptorProps) => JSX.Element;
|
|
2
|
+
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, showInfoIconTippy, docLinkText, dataTestId, additionalContent, showInfoIcon, tabsConfig, }: DescriptorProps) => JSX.Element;
|
|
3
3
|
export default FeatureTitleWithInfo;
|
|
@@ -1,17 +1,44 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { ImageType } from '../../../Common';
|
|
3
3
|
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
4
|
-
|
|
5
|
-
title: string;
|
|
4
|
+
interface BaseFeatureDescriptionModalProps {
|
|
6
5
|
renderDescriptionContent?: () => ReactNode;
|
|
7
|
-
closeModalText?: string;
|
|
8
6
|
docLink?: string;
|
|
9
|
-
closeModal?: () => void;
|
|
10
7
|
imageVariant?: ImageType;
|
|
11
8
|
SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
12
9
|
imageStyles?: React.CSSProperties;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
type FeatureDescriptionModalWithTabsConfig = {
|
|
12
|
+
/**
|
|
13
|
+
* If provided, tabs are shown and have higher precedence over normal modal
|
|
14
|
+
*/
|
|
15
|
+
tabsConfig: ({
|
|
16
|
+
/**
|
|
17
|
+
* Unique id of the tab
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Title for the tab
|
|
22
|
+
*/
|
|
23
|
+
title: string;
|
|
24
|
+
} & BaseFeatureDescriptionModalProps)[];
|
|
25
|
+
} & {
|
|
26
|
+
renderDescriptionContent?: never;
|
|
27
|
+
docLink?: never;
|
|
28
|
+
imageVariant?: never;
|
|
29
|
+
SVGImage?: never;
|
|
30
|
+
imageStyles?: never;
|
|
31
|
+
};
|
|
32
|
+
export type FeatureDescriptionModalProps = {
|
|
33
|
+
title: string;
|
|
34
|
+
closeModalText?: string;
|
|
35
|
+
closeModal?: () => void;
|
|
36
|
+
} & ((BaseFeatureDescriptionModalProps & {
|
|
37
|
+
tabsConfig?: never;
|
|
38
|
+
}) | FeatureDescriptionModalWithTabsConfig);
|
|
39
|
+
export type DescriptorProps = ((Omit<FeatureDescriptionModalProps, 'tabsConfig'> & {
|
|
40
|
+
tabsConfig?: never;
|
|
41
|
+
}) | (Pick<FeatureDescriptionModalProps, 'title' | 'closeModalText' | 'closeModal'> & FeatureDescriptionModalWithTabsConfig)) & {
|
|
15
42
|
breadCrumbs?: Breadcrumb[];
|
|
16
43
|
additionalContainerClasses?: string;
|
|
17
44
|
iconClassName?: string;
|
|
@@ -26,4 +53,5 @@ export interface DescriptorProps extends FeatureDescriptionModalProps {
|
|
|
26
53
|
* @default false
|
|
27
54
|
*/
|
|
28
55
|
showInfoIcon?: boolean;
|
|
29
|
-
}
|
|
56
|
+
};
|
|
57
|
+
export {};
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ export interface AppDetails {
|
|
|
187
187
|
clusterName?: string;
|
|
188
188
|
dockerRegistryId?: string;
|
|
189
189
|
deploymentAppDeleteRequest?: boolean;
|
|
190
|
-
|
|
190
|
+
approvalConfigData?: ApprovalConfigDataType;
|
|
191
191
|
isVirtualEnvironment?: boolean;
|
|
192
192
|
imageTag?: string;
|
|
193
193
|
helmPackageName?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as je } from "./index-
|
|
4
|
+
import { m as je } from "./index-ASicQk-O.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-ASicQk-O.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 l } from "./index-
|
|
1
|
+
import { m as l } from "./index-ASicQk-O.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 s } from "./index-
|
|
1
|
+
import { m as s } from "./index-ASicQk-O.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 Be = Object.defineProperty;
|
|
2
2
|
var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as qe } from "./index-
|
|
4
|
+
import { m as qe } from "./index-ASicQk-O.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|