tutuca 0.9.59 → 0.9.60
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/tutuca-cli.js +5 -2
- package/dist/tutuca-dev.js +5 -2
- package/dist/tutuca-dev.min.js +1 -1
- package/dist/tutuca-extra.js +5 -2
- package/dist/tutuca-extra.min.js +1 -1
- package/dist/tutuca.js +5 -2
- package/dist/tutuca.min.js +1 -1
- package/package.json +1 -1
package/dist/tutuca-cli.js
CHANGED
|
@@ -9244,7 +9244,7 @@ class App {
|
|
|
9244
9244
|
}
|
|
9245
9245
|
_handleDragEvent(e, type3, path) {
|
|
9246
9246
|
if (type3 === "dragover") {
|
|
9247
|
-
const dropTarget = getClosestDropTarget(e.target, this.rootNode,
|
|
9247
|
+
const dropTarget = getClosestDropTarget(e.target, this.rootNode, Infinity);
|
|
9248
9248
|
if (dropTarget !== null) {
|
|
9249
9249
|
e.preventDefault();
|
|
9250
9250
|
this._cleanDragOverAttrs();
|
|
@@ -9302,6 +9302,9 @@ class App {
|
|
|
9302
9302
|
for (const name of eventNames)
|
|
9303
9303
|
this.rootNode.addEventListener(name, this, listenerOpts(name));
|
|
9304
9304
|
}
|
|
9305
|
+
recompileStyles(opts) {
|
|
9306
|
+
injectCss("tutuca-app", this.comps.compileStyles(), opts?.head ?? document.head);
|
|
9307
|
+
}
|
|
9305
9308
|
start(opts) {
|
|
9306
9309
|
if (!this._compiled)
|
|
9307
9310
|
this.compile();
|
|
@@ -9310,7 +9313,7 @@ class App {
|
|
|
9310
9313
|
if (info.val !== info.old)
|
|
9311
9314
|
this.render();
|
|
9312
9315
|
});
|
|
9313
|
-
|
|
9316
|
+
this.recompileStyles(opts);
|
|
9314
9317
|
if (opts?.noCache)
|
|
9315
9318
|
this.renderer.setNullCache();
|
|
9316
9319
|
else
|
package/dist/tutuca-dev.js
CHANGED
|
@@ -9589,7 +9589,7 @@ class App {
|
|
|
9589
9589
|
}
|
|
9590
9590
|
_handleDragEvent(e, type3, path) {
|
|
9591
9591
|
if (type3 === "dragover") {
|
|
9592
|
-
const dropTarget = getClosestDropTarget(e.target, this.rootNode,
|
|
9592
|
+
const dropTarget = getClosestDropTarget(e.target, this.rootNode, Infinity);
|
|
9593
9593
|
if (dropTarget !== null) {
|
|
9594
9594
|
e.preventDefault();
|
|
9595
9595
|
this._cleanDragOverAttrs();
|
|
@@ -9647,6 +9647,9 @@ class App {
|
|
|
9647
9647
|
for (const name of eventNames)
|
|
9648
9648
|
this.rootNode.addEventListener(name, this, listenerOpts(name));
|
|
9649
9649
|
}
|
|
9650
|
+
recompileStyles(opts) {
|
|
9651
|
+
injectCss("tutuca-app", this.comps.compileStyles(), opts?.head ?? document.head);
|
|
9652
|
+
}
|
|
9650
9653
|
start(opts) {
|
|
9651
9654
|
if (!this._compiled)
|
|
9652
9655
|
this.compile();
|
|
@@ -9655,7 +9658,7 @@ class App {
|
|
|
9655
9658
|
if (info.val !== info.old)
|
|
9656
9659
|
this.render();
|
|
9657
9660
|
});
|
|
9658
|
-
|
|
9661
|
+
this.recompileStyles(opts);
|
|
9659
9662
|
if (opts?.noCache)
|
|
9660
9663
|
this.renderer.setNullCache();
|
|
9661
9664
|
else
|