@overlastic/react 0.8.0 → 0.8.1
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 -1
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -32296,7 +32296,8 @@ var OverlaysReact = (() => {
|
|
|
32296
32296
|
const deferred = createDeferred();
|
|
32297
32297
|
const name = defineName(options3.id, options3.autoIncrement);
|
|
32298
32298
|
const index = getIndex(options3.id);
|
|
32299
|
-
const
|
|
32299
|
+
const root = globalContainer ? options3.root : document.body;
|
|
32300
|
+
const container = defineGlobalElement(name, root);
|
|
32300
32301
|
mount(instance, props, Object.assign(options3, {
|
|
32301
32302
|
position: context.position,
|
|
32302
32303
|
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.1",
|
|
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.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react": "^18.3.2",
|