moorr-react-mui 0.2.119 → 0.2.120

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -479,9 +479,9 @@ interface Props extends GraphingTileProps {
479
479
  declare const VerticalTile: ({ graphingTile, graphingTileIndex }: Props) => JSX.Element | null;
480
480
 
481
481
  interface ModalProps$1 {
482
- onClose?: (modalResult?: any) => void | undefined;
483
- onDismiss?: (modalResult?: any) => void | undefined;
484
- onBackdropClick?: (event: any) => void;
482
+ onClose?: (modalResult?: any) => Promise<void> | void;
483
+ onDismiss?: (modalResult?: any) => Promise<void> | void;
484
+ onBackdropClick?: (event: any) => Promise<void> | void;
485
485
  children: React.ReactNode;
486
486
  showModal?: boolean;
487
487
  fixedHeight?: string;
@@ -526,9 +526,9 @@ declare const modals: {
526
526
  declare const toastMessage: (color: "info" | "success" | "warning" | "error", message: string) => void;
527
527
 
528
528
  interface FadeModalProps {
529
- onClose?: (modalResult?: any) => void | undefined;
530
- onDismiss?: (modalResult?: any) => void | undefined;
531
- onBackdropClick?: (event: any) => void;
529
+ onClose?: (modalResult?: any) => Promise<void> | void;
530
+ onDismiss?: (modalResult?: any) => Promise<void> | void;
531
+ onBackdropClick?: (event: any) => Promise<void> | void;
532
532
  className?: string;
533
533
  widthValue?: string;
534
534
  heightValue?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moorr-react-mui",
3
- "version": "0.2.119",
3
+ "version": "0.2.120",
4
4
  "description": "Moorr React MUI Common Library",
5
5
  "scripts": {
6
6
  "_clear": "rimraf index.* && rimraf typings/* && rimraf cjs/*",