demio-ui 2.5.67 → 2.5.69
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.
|
@@ -2,12 +2,16 @@ import React from 'react';
|
|
|
2
2
|
import { IToast } from '../../components/Toast/Toast';
|
|
3
3
|
declare class ToastManager {
|
|
4
4
|
private setToastList;
|
|
5
|
+
private toastQueue;
|
|
6
|
+
private timerId;
|
|
5
7
|
constructor();
|
|
6
8
|
render: () => void;
|
|
7
9
|
updateSetter(setToastList: React.Dispatch<React.SetStateAction<IToast[]>>): void;
|
|
8
10
|
remove: (id: number) => void;
|
|
9
11
|
private getUIToastListAmount;
|
|
10
12
|
private add;
|
|
13
|
+
private processQueue;
|
|
14
|
+
private addToQueue;
|
|
11
15
|
info: (options: IToast) => void;
|
|
12
16
|
success: (options: IToast) => void;
|
|
13
17
|
error: (options: IToast) => void;
|
package/dist/types.d.ts
CHANGED
|
@@ -2420,12 +2420,16 @@ declare const getCroppedImageURL: (imageSrc: string, pixelCrop: Area, rotation?:
|
|
|
2420
2420
|
|
|
2421
2421
|
declare class ToastManager {
|
|
2422
2422
|
private setToastList;
|
|
2423
|
+
private toastQueue;
|
|
2424
|
+
private timerId;
|
|
2423
2425
|
constructor();
|
|
2424
2426
|
render: () => void;
|
|
2425
2427
|
updateSetter(setToastList: React__default.Dispatch<React__default.SetStateAction<IToast[]>>): void;
|
|
2426
2428
|
remove: (id: number) => void;
|
|
2427
2429
|
private getUIToastListAmount;
|
|
2428
2430
|
private add;
|
|
2431
|
+
private processQueue;
|
|
2432
|
+
private addToQueue;
|
|
2429
2433
|
info: (options: IToast) => void;
|
|
2430
2434
|
success: (options: IToast) => void;
|
|
2431
2435
|
error: (options: IToast) => void;
|