@overlastic/vue2 0.8.3 → 0.8.8
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
|
@@ -6180,8 +6180,8 @@ var OverlaysVue = (() => {
|
|
|
6180
6180
|
const deferred = createDeferred();
|
|
6181
6181
|
const name = defineName(options3.id, options3.autoIncrement);
|
|
6182
6182
|
const index2 = getIndex(options3.id);
|
|
6183
|
-
const root =
|
|
6184
|
-
const container = defineGlobalElement(name, root);
|
|
6183
|
+
const root = options3.root ? options3.root : document.body;
|
|
6184
|
+
const container = globalContainer !== false ? defineGlobalElement(name, root) : void 0;
|
|
6185
6185
|
mount(instance, props2, Object.assign(options3, {
|
|
6186
6186
|
position: context2.position,
|
|
6187
6187
|
id: name,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overlastic/vue2",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/hairyf/overlastic#readme",
|
|
7
7
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"mitt": "^3.0.1",
|
|
32
32
|
"pascal-case": "3.1.2",
|
|
33
|
-
"@overlastic/core": "^0.8.
|
|
33
|
+
"@overlastic/core": "^0.8.8"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"vue": "^2.6"
|