@inditextech/weave-sdk 0.68.1 → 0.69.0
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/sdk.cjs +3 -10
- package/dist/sdk.js +3 -10
- package/dist/sdk.js.map +1 -1
- package/package.json +2 -2
package/dist/sdk.cjs
CHANGED
|
@@ -21909,7 +21909,7 @@ var WeaveRegisterManager = class {
|
|
|
21909
21909
|
|
|
21910
21910
|
//#endregion
|
|
21911
21911
|
//#region package.json
|
|
21912
|
-
var version = "0.
|
|
21912
|
+
var version = "0.69.0";
|
|
21913
21913
|
|
|
21914
21914
|
//#endregion
|
|
21915
21915
|
//#region src/managers/setup.ts
|
|
@@ -23611,16 +23611,9 @@ var WeaveTextNode = class extends WeaveNode {
|
|
|
23611
23611
|
});
|
|
23612
23612
|
const rotation = textNode.getAbsoluteRotation();
|
|
23613
23613
|
if (rotation) {
|
|
23614
|
-
const transform
|
|
23615
|
-
this.textAreaContainer.style.transform = transform
|
|
23614
|
+
const transform = "rotate(" + rotation + "deg)";
|
|
23615
|
+
this.textAreaContainer.style.transform = transform;
|
|
23616
23616
|
}
|
|
23617
|
-
const measures = textNode.measureSize(textNode.text());
|
|
23618
|
-
const px = 0 * stage.scaleX();
|
|
23619
|
-
const py = measures.actualBoundingBoxDescent * stage.scaleY();
|
|
23620
|
-
let transform = "";
|
|
23621
|
-
transform += "translateX(" + px + "px)";
|
|
23622
|
-
transform += "translateY(" + py + "px)";
|
|
23623
|
-
this.textArea.style.transform = transform;
|
|
23624
23617
|
const handleKeyDown = (e) => {
|
|
23625
23618
|
if (this.textArea && textNode && e.key === "Escape") {
|
|
23626
23619
|
e.stopPropagation();
|
package/dist/sdk.js
CHANGED
|
@@ -21909,7 +21909,7 @@ var WeaveRegisterManager = class {
|
|
|
21909
21909
|
|
|
21910
21910
|
//#endregion
|
|
21911
21911
|
//#region package.json
|
|
21912
|
-
var version = "0.
|
|
21912
|
+
var version = "0.69.0";
|
|
21913
21913
|
|
|
21914
21914
|
//#endregion
|
|
21915
21915
|
//#region src/managers/setup.ts
|
|
@@ -23611,16 +23611,9 @@ var WeaveTextNode = class extends WeaveNode {
|
|
|
23611
23611
|
});
|
|
23612
23612
|
const rotation = textNode.getAbsoluteRotation();
|
|
23613
23613
|
if (rotation) {
|
|
23614
|
-
const transform
|
|
23615
|
-
this.textAreaContainer.style.transform = transform
|
|
23614
|
+
const transform = "rotate(" + rotation + "deg)";
|
|
23615
|
+
this.textAreaContainer.style.transform = transform;
|
|
23616
23616
|
}
|
|
23617
|
-
const measures = textNode.measureSize(textNode.text());
|
|
23618
|
-
const px = 0 * stage.scaleX();
|
|
23619
|
-
const py = measures.actualBoundingBoxDescent * stage.scaleY();
|
|
23620
|
-
let transform = "";
|
|
23621
|
-
transform += "translateX(" + px + "px)";
|
|
23622
|
-
transform += "translateY(" + py + "px)";
|
|
23623
|
-
this.textArea.style.transform = transform;
|
|
23624
23617
|
const handleKeyDown = (e) => {
|
|
23625
23618
|
if (this.textArea && textNode && e.key === "Escape") {
|
|
23626
23619
|
e.stopPropagation();
|