@etsoo/react 1.8.86 → 1.8.87
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.
|
@@ -57,7 +57,7 @@ export interface NotificationReactCallProps extends NotificationCallProps {
|
|
|
57
57
|
/**
|
|
58
58
|
* Buttons to override default buttons
|
|
59
59
|
*/
|
|
60
|
-
buttons?: (notification: INotificationReact, callback: (event: React.MouseEvent<HTMLButtonElement>, value?: any) => Promise<boolean
|
|
60
|
+
buttons?: (notification: INotificationReact, callback: (event: React.MouseEvent<HTMLButtonElement>, value?: any) => Promise<boolean>, base: () => React.ReactNode) => React.ReactNode;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* React notification interface
|
|
@@ -57,7 +57,7 @@ export interface NotificationReactCallProps extends NotificationCallProps {
|
|
|
57
57
|
/**
|
|
58
58
|
* Buttons to override default buttons
|
|
59
59
|
*/
|
|
60
|
-
buttons?: (notification: INotificationReact, callback: (event: React.MouseEvent<HTMLButtonElement>, value?: any) => Promise<boolean
|
|
60
|
+
buttons?: (notification: INotificationReact, callback: (event: React.MouseEvent<HTMLButtonElement>, value?: any) => Promise<boolean>, base: () => React.ReactNode) => React.ReactNode;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* React notification interface
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.87",
|
|
4
4
|
"description": "TypeScript ReactJs UI Independent Framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@etsoo/shared": "^1.2.83",
|
|
44
44
|
"react": "^19.2.5",
|
|
45
45
|
"react-dom": "^19.2.5",
|
|
46
|
-
"react-router-dom": "^7.14.
|
|
46
|
+
"react-router-dom": "^7.14.2",
|
|
47
47
|
"react-window": "^2.2.7"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"@vitejs/plugin-react": "^6.0.1",
|
|
59
59
|
"jsdom": "^29.0.2",
|
|
60
60
|
"typescript": "^6.0.3",
|
|
61
|
-
"vitest": "^4.1.
|
|
61
|
+
"vitest": "^4.1.5"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/notifier/Notifier.ts
CHANGED
|
@@ -86,7 +86,8 @@ export interface NotificationReactCallProps extends NotificationCallProps {
|
|
|
86
86
|
callback: (
|
|
87
87
|
event: React.MouseEvent<HTMLButtonElement>,
|
|
88
88
|
value?: any
|
|
89
|
-
) => Promise<boolean
|
|
89
|
+
) => Promise<boolean>,
|
|
90
|
+
base: () => React.ReactNode
|
|
90
91
|
) => React.ReactNode;
|
|
91
92
|
}
|
|
92
93
|
|