@devtron-labs/devtron-fe-common-lib 0.0.84-beta-7 → 0.0.84-beta-9
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/Modals/VisibleModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +2 -1
- package/dist/Common/Types.d.ts +2 -1
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +3 -0
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +4 -0
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +8 -0
- package/dist/Shared/Components/FeatureDescription/index.d.ts +2 -0
- package/dist/Shared/Components/FeatureDescription/types.d.ts +19 -0
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +6 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-efdf664c.js → cssMode-0b9bfc9f.js} +1 -1
- package/dist/{freemarker2-d2ce1cb7.js → freemarker2-5de347ba.js} +1 -1
- package/dist/{handlebars-c12c916b.js → handlebars-af8f33ee.js} +1 -1
- package/dist/{html-0b76a829.js → html-0939bbb6.js} +1 -1
- package/dist/{htmlMode-8d18ecb4.js → htmlMode-309b91b1.js} +1 -1
- package/dist/{index-e12efa3b.js → index-5831099d.js} +11726 -11613
- package/dist/index.js +239 -237
- package/dist/{javascript-dda3835d.js → javascript-c3645fc5.js} +1 -1
- package/dist/{jsonMode-efe2fc2c.js → jsonMode-905ac179.js} +1 -1
- package/dist/{liquid-9dd5c1c1.js → liquid-f883d096.js} +1 -1
- package/dist/{mdx-7178a930.js → mdx-811da448.js} +1 -1
- package/dist/{python-cd3850cc.js → python-8428342d.js} +1 -1
- package/dist/{razor-0bd329eb.js → razor-faeb52f1.js} +1 -1
- package/dist/{tsMode-9a2999dc.js → tsMode-42ec339f.js} +1 -1
- package/dist/{typescript-893f1ead.js → typescript-31e77327.js} +1 -1
- package/dist/{xml-b6462962.js → xml-b2b2cc7a.js} +1 -1
- package/dist/{yaml-5a9dff3a.js → yaml-2b3fd70f.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare class VisibleModal extends React.Component<{
|
|
4
4
|
className: string;
|
|
@@ -12,5 +12,6 @@ export declare class VisibleModal extends React.Component<{
|
|
|
12
12
|
escFunction(event: any): void;
|
|
13
13
|
componentDidMount(): void;
|
|
14
14
|
componentWillUnmount(): void;
|
|
15
|
+
handleBodyClick: (e: SyntheticEvent) => void;
|
|
15
16
|
render(): React.ReactPortal;
|
|
16
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, SyntheticEvent } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare class VisibleModal2 extends React.Component<{
|
|
4
4
|
className: string;
|
|
@@ -9,5 +9,6 @@ export declare class VisibleModal2 extends React.Component<{
|
|
|
9
9
|
escFunction(event: any): void;
|
|
10
10
|
componentDidMount(): void;
|
|
11
11
|
componentWillUnmount(): void;
|
|
12
|
+
handleBodyClick: (e: SyntheticEvent) => void;
|
|
12
13
|
render(): React.ReactPortal;
|
|
13
14
|
}
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -140,7 +140,8 @@ export interface ErrorScreenNotAuthorizedProps {
|
|
|
140
140
|
}
|
|
141
141
|
export declare enum ImageType {
|
|
142
142
|
Large = "large",
|
|
143
|
-
Medium = "medium"
|
|
143
|
+
Medium = "medium",
|
|
144
|
+
SMALL = "small"
|
|
144
145
|
}
|
|
145
146
|
export interface InfoColourBarType {
|
|
146
147
|
message: React.ReactNode;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DescriptorProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, }: DescriptorProps) => JSX.Element;
|
|
4
|
+
export default FeatureTitleWithInfo;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
|
|
2
|
+
import { ImageType } from '../../../Common';
|
|
3
|
+
|
|
4
|
+
export interface FeatureDescriptionModalProps {
|
|
5
|
+
title: string;
|
|
6
|
+
renderDescriptionContent?: () => JSX.Element;
|
|
7
|
+
closeModalText?: string;
|
|
8
|
+
docLink?: string;
|
|
9
|
+
closeModal?: () => void;
|
|
10
|
+
imageVariant?: ImageType;
|
|
11
|
+
SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
12
|
+
imageStyles?: React.CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export interface DescriptorProps extends FeatureDescriptionModalProps {
|
|
15
|
+
breadCrumbs: Breadcrumb[];
|
|
16
|
+
additionalContainerClasses?: string;
|
|
17
|
+
iconClassName?: string;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|