@devtron-labs/devtron-fe-common-lib 0.2.32-beta-3 → 0.2.32-beta-4
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/index.d.ts +0 -1
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +11 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-BDqNi6lm.js → cssMode-DiXSL4Su.js} +1 -1
- package/dist/{freemarker2-tTwRSppX.js → freemarker2-DRGtejC1.js} +1 -1
- package/dist/{handlebars-B2CytkFQ.js → handlebars-CXqg7HyI.js} +1 -1
- package/dist/{html-DBtgrWcG.js → html-DwNS2QP5.js} +1 -1
- package/dist/{htmlMode-VPsuXDcK.js → htmlMode-gmVNFd34.js} +1 -1
- package/dist/{index-BUxslq5r.js → index-UmAyscb8.js} +22356 -22335
- package/dist/index.js +265 -269
- package/dist/{javascript-CRkRGSUl.js → javascript-DzPlFJvJ.js} +1 -1
- package/dist/{jsonMode-Bsr7Lcu2.js → jsonMode-DQ7v3jyx.js} +1 -1
- package/dist/{liquid-BVU9XG_W.js → liquid-BL-3kizE.js} +1 -1
- package/dist/{mdx-BMh0CQUQ.js → mdx-DAupKC39.js} +1 -1
- package/dist/{python-f_ZZiKCg.js → python-DX_W4j4e.js} +1 -1
- package/dist/{razor-DN5l4cdf.js → razor-BEobSPQ6.js} +1 -1
- package/dist/{tsMode-DPI7ls5f.js → tsMode-TpCHRKMa.js} +1 -1
- package/dist/{typescript-9LHwJcQl.js → typescript-CpdBBbgf.js} +1 -1
- package/dist/{xml-BtnLJ73Z.js → xml-DNDHKO1K.js} +1 -1
- package/dist/{yaml-C1JxmrMC.js → yaml-CqAfWfzo.js} +1 -1
- package/package.json +1 -1
- package/dist/Common/ToastBody.d.ts +0 -23
package/dist/Common/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './Constants';
|
|
|
2
2
|
export * from './ServerError';
|
|
3
3
|
export * from './Types';
|
|
4
4
|
export * from './Api';
|
|
5
|
-
export * from './ToastBody';
|
|
6
5
|
export { default as Reload } from './Reload';
|
|
7
6
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
|
8
7
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
|
@@ -62,7 +62,18 @@ import { ToastProps } from './types';
|
|
|
62
62
|
declare class ToastManager {
|
|
63
63
|
#private;
|
|
64
64
|
static get instance(): ToastManager;
|
|
65
|
+
/**
|
|
66
|
+
* Handler for showing the toast
|
|
67
|
+
*/
|
|
65
68
|
showToast: ({ variant, icon: customIcon, title, description, buttonProps, progressBarBg: customProgressBarBg, }: ToastProps, options?: Pick<ToastOptions, "autoClose">) => import('react-toastify').Id;
|
|
69
|
+
/**
|
|
70
|
+
* Handler for dismissing an existing toast
|
|
71
|
+
*/
|
|
72
|
+
dismissToast: (id?: import('react-toastify').Id | undefined) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Handler for checking if the toast is active
|
|
75
|
+
*/
|
|
76
|
+
isToastActive: (id: import('react-toastify').Id) => boolean;
|
|
66
77
|
}
|
|
67
78
|
export declare const ToastManagerContainer: () => JSX.Element;
|
|
68
79
|
declare const _default: ToastManager;
|