@overlastic/react 0.8.3 → 0.8.7
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/dist/index.global.js +2 -2
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -31753,8 +31753,8 @@ var OverlaysReact = (() => {
|
|
|
31753
31753
|
const deferred = createDeferred();
|
|
31754
31754
|
const name = defineName(options3.id, options3.autoIncrement);
|
|
31755
31755
|
const index = getIndex(options3.id);
|
|
31756
|
-
const root =
|
|
31757
|
-
const container = defineGlobalElement(name, root);
|
|
31756
|
+
const root = options3.root ? options3.root : document.body;
|
|
31757
|
+
const container = globalContainer !== false ? defineGlobalElement(name, root) : void 0;
|
|
31758
31758
|
mount(instance, props, Object.assign(options3, {
|
|
31759
31759
|
position: context.position,
|
|
31760
31760
|
id: name,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overlastic/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/hairyf/overlastic#readme",
|
|
7
7
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"pascal-case": "3.1.2",
|
|
33
33
|
"react": "^18.3.1",
|
|
34
34
|
"react-dom": "^18.3.1",
|
|
35
|
-
"@overlastic/core": "^0.8.
|
|
35
|
+
"@overlastic/core": "^0.8.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react": "^18.3.20",
|