@wonderflow/react-components 3.0.0-next.5 → 3.0.0-next.6
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/overlay-container/overlay-container.js +1 -3
- package/package.json +1 -1
- package/themes/dark.css +1 -1
- package/themes/light.css +1 -1
- package/themes.css +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AnimatePresence } from 'framer-motion';
|
|
2
1
|
import React, { useEffect } from 'react';
|
|
3
2
|
import { ModalProvider } from '../modal';
|
|
4
3
|
import { createPortal } from 'react-dom';
|
|
@@ -9,7 +8,6 @@ export const OverlayContainer = ({ children, root = document.body }) => {
|
|
|
9
8
|
}
|
|
10
9
|
}, [root]);
|
|
11
10
|
const content = (React.createElement(ModalProvider, null,
|
|
12
|
-
React.createElement("div", { "data-overlay-container": true },
|
|
13
|
-
React.createElement(AnimatePresence, null, children))));
|
|
11
|
+
React.createElement("div", { "data-overlay-container": true }, children)));
|
|
14
12
|
return createPortal(content, root);
|
|
15
13
|
};
|
package/package.json
CHANGED
package/themes/dark.css
CHANGED
package/themes/light.css
CHANGED
package/themes.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
color: var(--global-foreground);
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Thu, 16 Dec 2021 08:41:53 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
color: var(--global-foreground);
|
|
52
52
|
/**
|
|
53
53
|
* Do not edit directly
|
|
54
|
-
* Generated on
|
|
54
|
+
* Generated on Thu, 16 Dec 2021 08:41:53 GMT
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
57
|
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
color: var(--global-foreground);
|
|
100
100
|
/**
|
|
101
101
|
* Do not edit directly
|
|
102
|
-
* Generated on
|
|
102
|
+
* Generated on Thu, 16 Dec 2021 08:41:53 GMT
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|