dce-reactkit 3.7.10-beta.4 → 3.7.11

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.
@@ -5,7 +5,6 @@
5
5
  */
6
6
  import React from 'react';
7
7
  import Variant from '../types/Variant';
8
- import ModalProps from './Modal/ModalProps';
9
8
  type Props = {
10
9
  children: React.ReactNode;
11
10
  };
@@ -62,25 +61,5 @@ export declare const addFatalErrorHandler: (handler: () => void) => void;
62
61
  * @author Gabe Abrams
63
62
  */
64
63
  export declare const showSessionExpiredMessage: () => Promise<void>;
65
- /**
66
- * Add a modal to the screen
67
- * @author Gabe Abrams
68
- * @param id the uniqueId of the modal
69
- * @param props the props for the modal
70
- */
71
- export declare const addModal: (id: number, props: ModalProps) => Promise<void>;
72
- /**
73
- * Update a modal on the screen by id (if it exists) with new props
74
- * @author Gabe Abrams
75
- * @param id the uniqueId of the modal
76
- * @param props the new props for the modal
77
- */
78
- export declare const updateModal: (id: number, props: ModalProps) => Promise<void>;
79
- /**
80
- * Remove a modal from the screen by id (if it exists)
81
- * @author Gabe Abrams
82
- * @param id the uniqueId of the modal
83
- */
84
- export declare const removeModal: (id: number) => Promise<void>;
85
64
  declare const AppWrapper: React.FC<Props>;
86
65
  export default AppWrapper;
@@ -1,5 +1,6 @@
1
1
  /**
2
- * General use modal component
2
+ * The displayable modal component (this is the modal that's added to the
3
+ * wrapper, not the one that the programmer renders)
3
4
  * @author Gabe Abrams
4
5
  */
5
6
  import React from 'react';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The number of modal portals that can be rendered at once.
3
+ * @author Gabe Abrams
4
+ */
5
+ declare const NUM_MODAL_PORTALS = 50;
6
+ export default NUM_MODAL_PORTALS;