microboard-temp 0.14.42 → 0.14.43

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.
@@ -79609,10 +79609,12 @@ class AddSticker extends BoardTool {
79609
79609
  }
79610
79610
  setBackgroundColor(color2) {
79611
79611
  this.sticker.apply({
79612
- class: "Sticker",
79613
- method: "setBackgroundColor",
79612
+ class: "Item",
79613
+ method: "setProperty",
79614
79614
  item: [this.sticker.getId()],
79615
- backgroundColor: coerceColorValue(color2)
79615
+ property: "backgroundColor",
79616
+ value: coerceColorValue(color2),
79617
+ prevValues: [this.sticker.getBackgroundColor()]
79616
79618
  });
79617
79619
  this.setCursor(color2);
79618
79620
  this.board.tools.publish();
package/dist/cjs/index.js CHANGED
@@ -79609,10 +79609,12 @@ class AddSticker extends BoardTool {
79609
79609
  }
79610
79610
  setBackgroundColor(color2) {
79611
79611
  this.sticker.apply({
79612
- class: "Sticker",
79613
- method: "setBackgroundColor",
79612
+ class: "Item",
79613
+ method: "setProperty",
79614
79614
  item: [this.sticker.getId()],
79615
- backgroundColor: coerceColorValue(color2)
79615
+ property: "backgroundColor",
79616
+ value: coerceColorValue(color2),
79617
+ prevValues: [this.sticker.getBackgroundColor()]
79616
79618
  });
79617
79619
  this.setCursor(color2);
79618
79620
  this.board.tools.publish();
package/dist/cjs/node.js CHANGED
@@ -82082,10 +82082,12 @@ class AddSticker extends BoardTool {
82082
82082
  }
82083
82083
  setBackgroundColor(color2) {
82084
82084
  this.sticker.apply({
82085
- class: "Sticker",
82086
- method: "setBackgroundColor",
82085
+ class: "Item",
82086
+ method: "setProperty",
82087
82087
  item: [this.sticker.getId()],
82088
- backgroundColor: coerceColorValue(color2)
82088
+ property: "backgroundColor",
82089
+ value: coerceColorValue(color2),
82090
+ prevValues: [this.sticker.getBackgroundColor()]
82089
82091
  });
82090
82092
  this.setCursor(color2);
82091
82093
  this.board.tools.publish();
@@ -79385,10 +79385,12 @@ class AddSticker extends BoardTool {
79385
79385
  }
79386
79386
  setBackgroundColor(color2) {
79387
79387
  this.sticker.apply({
79388
- class: "Sticker",
79389
- method: "setBackgroundColor",
79388
+ class: "Item",
79389
+ method: "setProperty",
79390
79390
  item: [this.sticker.getId()],
79391
- backgroundColor: coerceColorValue(color2)
79391
+ property: "backgroundColor",
79392
+ value: coerceColorValue(color2),
79393
+ prevValues: [this.sticker.getBackgroundColor()]
79392
79394
  });
79393
79395
  this.setCursor(color2);
79394
79396
  this.board.tools.publish();
package/dist/esm/index.js CHANGED
@@ -79378,10 +79378,12 @@ class AddSticker extends BoardTool {
79378
79378
  }
79379
79379
  setBackgroundColor(color2) {
79380
79380
  this.sticker.apply({
79381
- class: "Sticker",
79382
- method: "setBackgroundColor",
79381
+ class: "Item",
79382
+ method: "setProperty",
79383
79383
  item: [this.sticker.getId()],
79384
- backgroundColor: coerceColorValue(color2)
79384
+ property: "backgroundColor",
79385
+ value: coerceColorValue(color2),
79386
+ prevValues: [this.sticker.getBackgroundColor()]
79385
79387
  });
79386
79388
  this.setCursor(color2);
79387
79389
  this.board.tools.publish();
package/dist/esm/node.js CHANGED
@@ -81846,10 +81846,12 @@ class AddSticker extends BoardTool {
81846
81846
  }
81847
81847
  setBackgroundColor(color2) {
81848
81848
  this.sticker.apply({
81849
- class: "Sticker",
81850
- method: "setBackgroundColor",
81849
+ class: "Item",
81850
+ method: "setProperty",
81851
81851
  item: [this.sticker.getId()],
81852
- backgroundColor: coerceColorValue(color2)
81852
+ property: "backgroundColor",
81853
+ value: coerceColorValue(color2),
81854
+ prevValues: [this.sticker.getBackgroundColor()]
81853
81855
  });
81854
81856
  this.setCursor(color2);
81855
81857
  this.board.tools.publish();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.14.42",
3
+ "version": "0.14.43",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",