@formicoidea/labre-core-database 2.4.0 → 2.4.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.
|
@@ -32,6 +32,7 @@ var __runInitializers = (this && this.__runInitializers) || function (thisArg, i
|
|
|
32
32
|
}
|
|
33
33
|
return useValue ? value : void 0;
|
|
34
34
|
};
|
|
35
|
+
import { POPUP_ROOT_ATTR } from '@formicoidea/labre-core/components/context-menu';
|
|
35
36
|
import { SignalWatcher, WithDisposable } from '@formicoidea/labre-core/global/lit';
|
|
36
37
|
import { BlockStdScope, ShadowlessElement, } from '@formicoidea/labre-core/std';
|
|
37
38
|
import { css, html, nothing } from 'lit';
|
|
@@ -192,6 +193,10 @@ let DatabasePageHost = (() => {
|
|
|
192
193
|
}
|
|
193
194
|
connectedCallback() {
|
|
194
195
|
super.connectedCallback();
|
|
196
|
+
// The popups of the page hang here, beside its viewport: the viewport
|
|
197
|
+
// masks and contains what it holds, so a menu hung in the editor was cut
|
|
198
|
+
// at its edges, under the host's sidebar (labre recette of 2.4).
|
|
199
|
+
this.setAttribute(POPUP_ROOT_ATTR, '');
|
|
195
200
|
this.addEventListener('dragover', stopFileDrop, true);
|
|
196
201
|
this.addEventListener('drop', stopFileDrop, true);
|
|
197
202
|
this.holdSelection();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-core-database",
|
|
3
3
|
"description": "Labre core-database editing chrome for @formicoidea/labre-core.",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@formicoidea/labre-core": "2.4.
|
|
30
|
+
"@formicoidea/labre-core": "2.4.1",
|
|
31
31
|
"@blocksuite/icons": "^2.2.12",
|
|
32
32
|
"@preact/signals-core": "^1.8.0",
|
|
33
33
|
"lit": "^3.2.0"
|