@etsoo/materialui 1.2.92 → 1.2.93
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/lib/NotifierMU.js +2 -2
- package/lib/NotifierPopupProps.d.ts +5 -0
- package/lib/NotifierPopupProps.js +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/NotifierMU.tsx +2 -2
- package/src/NotifierPopupProps.ts +6 -0
- package/src/index.ts +1 -0
package/lib/NotifierMU.js
CHANGED
|
@@ -223,10 +223,10 @@ export class NotificationMU extends NotificationReact {
|
|
|
223
223
|
}
|
|
224
224
|
createPopup(_props, className) {
|
|
225
225
|
// Destruct
|
|
226
|
-
const { content, open, renderSetup } = this;
|
|
226
|
+
const { content, id, open, renderSetup } = this;
|
|
227
227
|
// Setup callback
|
|
228
228
|
const options = this.renderSetup ? this.renderSetup({}) : undefined;
|
|
229
|
-
return (React.createElement(Popover, { open: open, className: className, ...options }, content));
|
|
229
|
+
return (React.createElement(Popover, { key: id, open: open, className: className, ...options }, content));
|
|
230
230
|
}
|
|
231
231
|
// Create loading
|
|
232
232
|
createLoading(_props, className) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export * from "./MoreFab";
|
|
|
76
76
|
export * from "./MUGlobal";
|
|
77
77
|
export * from "./MUUtils";
|
|
78
78
|
export * from "./NotifierMU";
|
|
79
|
+
export * from "./NotifierPopupProps";
|
|
79
80
|
export * from "./OptionBool";
|
|
80
81
|
export * from "./OptionGroup";
|
|
81
82
|
export * from "./PercentCircularProgress";
|
package/lib/index.js
CHANGED
|
@@ -76,6 +76,7 @@ export * from "./MoreFab";
|
|
|
76
76
|
export * from "./MUGlobal";
|
|
77
77
|
export * from "./MUUtils";
|
|
78
78
|
export * from "./NotifierMU";
|
|
79
|
+
export * from "./NotifierPopupProps";
|
|
79
80
|
export * from "./OptionBool";
|
|
80
81
|
export * from "./OptionGroup";
|
|
81
82
|
export * from "./PercentCircularProgress";
|
package/package.json
CHANGED
package/src/NotifierMU.tsx
CHANGED
|
@@ -480,13 +480,13 @@ export class NotificationMU extends NotificationReact {
|
|
|
480
480
|
|
|
481
481
|
private createPopup(_props: NotificationRenderProps, className?: string) {
|
|
482
482
|
// Destruct
|
|
483
|
-
const { content, open, renderSetup } = this;
|
|
483
|
+
const { content, id, open, renderSetup } = this;
|
|
484
484
|
|
|
485
485
|
// Setup callback
|
|
486
486
|
const options = this.renderSetup ? this.renderSetup({}) : undefined;
|
|
487
487
|
|
|
488
488
|
return (
|
|
489
|
-
<Popover open={open} className={className} {...options}>
|
|
489
|
+
<Popover key={id} open={open} className={className} {...options}>
|
|
490
490
|
{content}
|
|
491
491
|
</Popover>
|
|
492
492
|
);
|
package/src/index.ts
CHANGED
|
@@ -80,6 +80,7 @@ export * from "./MoreFab";
|
|
|
80
80
|
export * from "./MUGlobal";
|
|
81
81
|
export * from "./MUUtils";
|
|
82
82
|
export * from "./NotifierMU";
|
|
83
|
+
export * from "./NotifierPopupProps";
|
|
83
84
|
export * from "./OptionBool";
|
|
84
85
|
export * from "./OptionGroup";
|
|
85
86
|
export * from "./PercentCircularProgress";
|