@devtron-labs/devtron-fe-common-lib 0.2.32-beta-4 → 0.2.32
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/ToastBody.d.ts +23 -0
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/Button/constants.d.ts +4 -2
- package/dist/Shared/Services/index.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-DiXSL4Su.js → cssMode-M4DwGcPH.js} +1 -1
- package/dist/{freemarker2-DRGtejC1.js → freemarker2-CLFaMa5E.js} +1 -1
- package/dist/{handlebars-CXqg7HyI.js → handlebars-B4l-4sY9.js} +1 -1
- package/dist/{html-DwNS2QP5.js → html-Bi2VBaVP.js} +1 -1
- package/dist/{htmlMode-gmVNFd34.js → htmlMode-DAht50Y5.js} +1 -1
- package/dist/{index-UmAyscb8.js → index-NQuyL_Mo.js} +26149 -25785
- package/dist/index.js +200 -199
- package/dist/{javascript-DzPlFJvJ.js → javascript-Ccg1Aseq.js} +1 -1
- package/dist/{jsonMode-DQ7v3jyx.js → jsonMode-DKWJoNVp.js} +1 -1
- package/dist/{liquid-BL-3kizE.js → liquid-B41HoeXE.js} +1 -1
- package/dist/{mdx-DAupKC39.js → mdx-BUFzRr2f.js} +1 -1
- package/dist/{python-DX_W4j4e.js → python-awFItZgn.js} +1 -1
- package/dist/{razor-BEobSPQ6.js → razor-DOPL8r44.js} +1 -1
- package/dist/{tsMode-TpCHRKMa.js → tsMode-n3eok1R7.js} +1 -1
- package/dist/{typescript-CpdBBbgf.js → typescript-DVgXOzFY.js} +1 -1
- package/dist/{xml-DNDHKO1K.js → xml-D3KcHZhU.js} +1 -1
- package/dist/{yaml-CqAfWfzo.js → yaml-D-0j7PYX.js} +1 -1
- package/package.json +2 -2
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +0 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +0 -4
- package/dist/Shared/Services/ToastManager/index.d.ts +0 -3
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -80
- package/dist/Shared/Services/ToastManager/types.d.ts +0 -40
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare class ToastBody extends React.Component<{
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
}> {
|
|
6
|
+
render(): JSX.Element;
|
|
7
|
+
}
|
|
8
|
+
export declare class ToastBody3 extends React.Component<{
|
|
9
|
+
text: string;
|
|
10
|
+
onClick: (...args: any[]) => void;
|
|
11
|
+
buttonText: string;
|
|
12
|
+
}> {
|
|
13
|
+
render(): JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export declare class ToastBodyWithButton extends React.Component<{
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
onClick: (...args: any[]) => void;
|
|
19
|
+
buttonText: string;
|
|
20
|
+
}> {
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export declare const toastAccessDenied: (title?: string, subtitle?: string) => React.ReactText;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './Constants';
|
|
|
2
2
|
export * from './ServerError';
|
|
3
3
|
export * from './Types';
|
|
4
4
|
export * from './Api';
|
|
5
|
+
export * from './ToastBody';
|
|
5
6
|
export { default as Reload } from './Reload';
|
|
6
7
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
|
7
8
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
|
@@ -2,5 +2,7 @@ import { ProgressingProps } from '../../../Common/Types';
|
|
|
2
2
|
import { ButtonProps } from './types';
|
|
3
3
|
export declare const BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
|
|
4
4
|
export declare const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
5
|
+
export declare const BUTTON_SIZE_TO_ICON_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
|
|
6
|
+
export declare const ICON_BUTTON_SIZE_TO_ICON_CLASS_NAME_MAP: Record<ButtonProps['size'], string>;
|
|
7
|
+
export declare const BUTTON_SIZE_TO_LOADER_SIZE_MAP: Record<ButtonProps['size'], ProgressingProps['size']>;
|
|
8
|
+
export declare const ICON_BUTTON_SIZE_TO_LOADER_SIZE_MAP: Record<ButtonProps['size'], ProgressingProps['size']>;
|