@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 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,5 @@
1
+ import { PopoverProps } from "@mui/material";
2
+ /**
3
+ * Notifier Popup pros
4
+ */
5
+ export type NotifierPopupProps = Omit<PopoverProps, "open">;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -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
  );
@@ -0,0 +1,6 @@
1
+ import { PopoverProps } from "@mui/material";
2
+
3
+ /**
4
+ * Notifier Popup pros
5
+ */
6
+ export type NotifierPopupProps = Omit<PopoverProps, "open">;
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";