microboard-temp 0.13.11 → 0.13.12
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/cjs/browser.js +2 -4
- package/dist/cjs/index.js +2 -4
- package/dist/cjs/node.js +2 -4
- package/dist/esm/browser.js +2 -4
- package/dist/esm/index.js +2 -4
- package/dist/esm/node.js +2 -4
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -22341,10 +22341,10 @@ class RichText extends BaseItem {
|
|
|
22341
22341
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
22342
22342
|
if (shouldUpdateLayout) {
|
|
22343
22343
|
this.updateElement();
|
|
22344
|
-
this.subject.publish(this);
|
|
22345
22344
|
} else {
|
|
22346
22345
|
this.transformCanvas();
|
|
22347
22346
|
this.recoordinate(maxWidth);
|
|
22347
|
+
this.subject.publish(this);
|
|
22348
22348
|
}
|
|
22349
22349
|
}
|
|
22350
22350
|
handleFocus = () => {
|
|
@@ -22863,9 +22863,7 @@ class RichText extends BaseItem {
|
|
|
22863
22863
|
this.insideOf = data.insideOf;
|
|
22864
22864
|
if (typeof document !== "undefined") {
|
|
22865
22865
|
document.fonts.ready.then(() => {
|
|
22866
|
-
this.
|
|
22867
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
22868
|
-
this.transformCanvas();
|
|
22866
|
+
this.updateElement();
|
|
22869
22867
|
});
|
|
22870
22868
|
}
|
|
22871
22869
|
this.subject.publish(this);
|
package/dist/cjs/index.js
CHANGED
|
@@ -22341,10 +22341,10 @@ class RichText extends BaseItem {
|
|
|
22341
22341
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
22342
22342
|
if (shouldUpdateLayout) {
|
|
22343
22343
|
this.updateElement();
|
|
22344
|
-
this.subject.publish(this);
|
|
22345
22344
|
} else {
|
|
22346
22345
|
this.transformCanvas();
|
|
22347
22346
|
this.recoordinate(maxWidth);
|
|
22347
|
+
this.subject.publish(this);
|
|
22348
22348
|
}
|
|
22349
22349
|
}
|
|
22350
22350
|
handleFocus = () => {
|
|
@@ -22863,9 +22863,7 @@ class RichText extends BaseItem {
|
|
|
22863
22863
|
this.insideOf = data.insideOf;
|
|
22864
22864
|
if (typeof document !== "undefined") {
|
|
22865
22865
|
document.fonts.ready.then(() => {
|
|
22866
|
-
this.
|
|
22867
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
22868
|
-
this.transformCanvas();
|
|
22866
|
+
this.updateElement();
|
|
22869
22867
|
});
|
|
22870
22868
|
}
|
|
22871
22869
|
this.subject.publish(this);
|
package/dist/cjs/node.js
CHANGED
|
@@ -24813,10 +24813,10 @@ class RichText extends BaseItem {
|
|
|
24813
24813
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
24814
24814
|
if (shouldUpdateLayout) {
|
|
24815
24815
|
this.updateElement();
|
|
24816
|
-
this.subject.publish(this);
|
|
24817
24816
|
} else {
|
|
24818
24817
|
this.transformCanvas();
|
|
24819
24818
|
this.recoordinate(maxWidth);
|
|
24819
|
+
this.subject.publish(this);
|
|
24820
24820
|
}
|
|
24821
24821
|
}
|
|
24822
24822
|
handleFocus = () => {
|
|
@@ -25335,9 +25335,7 @@ class RichText extends BaseItem {
|
|
|
25335
25335
|
this.insideOf = data.insideOf;
|
|
25336
25336
|
if (typeof document !== "undefined") {
|
|
25337
25337
|
document.fonts.ready.then(() => {
|
|
25338
|
-
this.
|
|
25339
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
25340
|
-
this.transformCanvas();
|
|
25338
|
+
this.updateElement();
|
|
25341
25339
|
});
|
|
25342
25340
|
}
|
|
25343
25341
|
this.subject.publish(this);
|
package/dist/esm/browser.js
CHANGED
|
@@ -22170,10 +22170,10 @@ class RichText extends BaseItem {
|
|
|
22170
22170
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
22171
22171
|
if (shouldUpdateLayout) {
|
|
22172
22172
|
this.updateElement();
|
|
22173
|
-
this.subject.publish(this);
|
|
22174
22173
|
} else {
|
|
22175
22174
|
this.transformCanvas();
|
|
22176
22175
|
this.recoordinate(maxWidth);
|
|
22176
|
+
this.subject.publish(this);
|
|
22177
22177
|
}
|
|
22178
22178
|
}
|
|
22179
22179
|
handleFocus = () => {
|
|
@@ -22692,9 +22692,7 @@ class RichText extends BaseItem {
|
|
|
22692
22692
|
this.insideOf = data.insideOf;
|
|
22693
22693
|
if (typeof document !== "undefined") {
|
|
22694
22694
|
document.fonts.ready.then(() => {
|
|
22695
|
-
this.
|
|
22696
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
22697
|
-
this.transformCanvas();
|
|
22695
|
+
this.updateElement();
|
|
22698
22696
|
});
|
|
22699
22697
|
}
|
|
22700
22698
|
this.subject.publish(this);
|
package/dist/esm/index.js
CHANGED
|
@@ -22163,10 +22163,10 @@ class RichText extends BaseItem {
|
|
|
22163
22163
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
22164
22164
|
if (shouldUpdateLayout) {
|
|
22165
22165
|
this.updateElement();
|
|
22166
|
-
this.subject.publish(this);
|
|
22167
22166
|
} else {
|
|
22168
22167
|
this.transformCanvas();
|
|
22169
22168
|
this.recoordinate(maxWidth);
|
|
22169
|
+
this.subject.publish(this);
|
|
22170
22170
|
}
|
|
22171
22171
|
}
|
|
22172
22172
|
handleFocus = () => {
|
|
@@ -22685,9 +22685,7 @@ class RichText extends BaseItem {
|
|
|
22685
22685
|
this.insideOf = data.insideOf;
|
|
22686
22686
|
if (typeof document !== "undefined") {
|
|
22687
22687
|
document.fonts.ready.then(() => {
|
|
22688
|
-
this.
|
|
22689
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
22690
|
-
this.transformCanvas();
|
|
22688
|
+
this.updateElement();
|
|
22691
22689
|
});
|
|
22692
22690
|
}
|
|
22693
22691
|
this.subject.publish(this);
|
package/dist/esm/node.js
CHANGED
|
@@ -24630,10 +24630,10 @@ class RichText extends BaseItem {
|
|
|
24630
24630
|
const shouldUpdateLayout = this.getTextWidth() > (maxWidth || 0);
|
|
24631
24631
|
if (shouldUpdateLayout) {
|
|
24632
24632
|
this.updateElement();
|
|
24633
|
-
this.subject.publish(this);
|
|
24634
24633
|
} else {
|
|
24635
24634
|
this.transformCanvas();
|
|
24636
24635
|
this.recoordinate(maxWidth);
|
|
24636
|
+
this.subject.publish(this);
|
|
24637
24637
|
}
|
|
24638
24638
|
}
|
|
24639
24639
|
handleFocus = () => {
|
|
@@ -25152,9 +25152,7 @@ class RichText extends BaseItem {
|
|
|
25152
25152
|
this.insideOf = data.insideOf;
|
|
25153
25153
|
if (typeof document !== "undefined") {
|
|
25154
25154
|
document.fonts.ready.then(() => {
|
|
25155
|
-
this.
|
|
25156
|
-
this.alignInRectangle(this.getTransformedContainer(), this.editor.verticalAlignment);
|
|
25157
|
-
this.transformCanvas();
|
|
25155
|
+
this.updateElement();
|
|
25158
25156
|
});
|
|
25159
25157
|
}
|
|
25160
25158
|
this.subject.publish(this);
|