@overlastic/svelte 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
|
@@ -103,8 +103,8 @@ var OverlaysSvelte = (() => {
|
|
|
103
103
|
const deferred = createDeferred();
|
|
104
104
|
const name = defineName(options3.id, options3.autoIncrement);
|
|
105
105
|
const index = getIndex(options3.id);
|
|
106
|
-
const root =
|
|
107
|
-
const container = defineGlobalElement(name, root);
|
|
106
|
+
const root = options3.root ? options3.root : document.body;
|
|
107
|
+
const container = globalContainer !== false ? defineGlobalElement(name, root) : void 0;
|
|
108
108
|
mount(instance2, props, Object.assign(options3, {
|
|
109
109
|
position: context.position,
|
|
110
110
|
id: name,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overlastic/svelte",
|
|
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": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"svelte": "^4.0.0",
|
|
29
|
-
"@overlastic/core": "^0.8.
|
|
29
|
+
"@overlastic/core": "^0.8.7"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsup src/index.ts",
|