@leapfrog/interactive-canvas 1.14.4 → 1.14.5

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.
@@ -2560,6 +2560,8 @@ var Text = /** @class */ (function (_super) {
2560
2560
  var entry = orderedListMarkerEntities[lineIndex];
2561
2561
  var fontSize = this.getValueOfPropertyAt(lineIndex, 0, "fontSize");
2562
2562
  var fontFamily = this.getValueOfPropertyAt(lineIndex, 0, "fontFamily");
2563
+ var fontWeight = this.getValueOfPropertyAt(lineIndex, 0, "fontWeight");
2564
+ var fontStyle = this.getValueOfPropertyAt(lineIndex, 0, "fontStyle");
2563
2565
  var color = this.getValueOfPropertyAt(lineIndex, 0, "fill");
2564
2566
  var angle = fabricText.angle;
2565
2567
  var theta = angle * Math.PI / 180;
@@ -2575,6 +2577,8 @@ var Text = /** @class */ (function (_super) {
2575
2577
  width: 1,
2576
2578
  fontSize: fontSize,
2577
2579
  fontFamily: fontFamily,
2580
+ fontWeight: fontWeight,
2581
+ fontStyle: fontStyle,
2578
2582
  fill: color,
2579
2583
  left: fabricText.left + xOffset,
2580
2584
  top: fabricText.top + yOffset,
@@ -2562,6 +2562,8 @@ var Text = /** @class */ (function (_super) {
2562
2562
  var entry = orderedListMarkerEntities[lineIndex];
2563
2563
  var fontSize = this.getValueOfPropertyAt(lineIndex, 0, "fontSize");
2564
2564
  var fontFamily = this.getValueOfPropertyAt(lineIndex, 0, "fontFamily");
2565
+ var fontWeight = this.getValueOfPropertyAt(lineIndex, 0, "fontWeight");
2566
+ var fontStyle = this.getValueOfPropertyAt(lineIndex, 0, "fontStyle");
2565
2567
  var color = this.getValueOfPropertyAt(lineIndex, 0, "fill");
2566
2568
  var angle = fabricText.angle;
2567
2569
  var theta = angle * Math.PI / 180;
@@ -2577,6 +2579,8 @@ var Text = /** @class */ (function (_super) {
2577
2579
  width: 1,
2578
2580
  fontSize: fontSize,
2579
2581
  fontFamily: fontFamily,
2582
+ fontWeight: fontWeight,
2583
+ fontStyle: fontStyle,
2580
2584
  fill: color,
2581
2585
  left: fabricText.left + xOffset,
2582
2586
  top: fabricText.top + yOffset,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapfrog/interactive-canvas",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "description": "Leapfrog interactive canvas",
5
5
  "files": [
6
6
  "dist"