microboard-temp 0.4.25 → 0.4.26

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.
@@ -46355,6 +46355,9 @@ class Dice extends BaseItem {
46355
46355
  getIsRotating() {
46356
46356
  return !!this.animationFrameId;
46357
46357
  }
46358
+ getType() {
46359
+ return this.type;
46360
+ }
46358
46361
  getRange() {
46359
46362
  if (this.type === "custom") {
46360
46363
  return { min: 1, max: this.values.length };
package/dist/cjs/index.js CHANGED
@@ -46355,6 +46355,9 @@ class Dice extends BaseItem {
46355
46355
  getIsRotating() {
46356
46356
  return !!this.animationFrameId;
46357
46357
  }
46358
+ getType() {
46359
+ return this.type;
46360
+ }
46358
46361
  getRange() {
46359
46362
  if (this.type === "custom") {
46360
46363
  return { min: 1, max: this.values.length };
package/dist/cjs/node.js CHANGED
@@ -48895,6 +48895,9 @@ class Dice extends BaseItem {
48895
48895
  getIsRotating() {
48896
48896
  return !!this.animationFrameId;
48897
48897
  }
48898
+ getType() {
48899
+ return this.type;
48900
+ }
48898
48901
  getRange() {
48899
48902
  if (this.type === "custom") {
48900
48903
  return { min: 1, max: this.values.length };
@@ -46205,6 +46205,9 @@ class Dice extends BaseItem {
46205
46205
  getIsRotating() {
46206
46206
  return !!this.animationFrameId;
46207
46207
  }
46208
+ getType() {
46209
+ return this.type;
46210
+ }
46208
46211
  getRange() {
46209
46212
  if (this.type === "custom") {
46210
46213
  return { min: 1, max: this.values.length };
package/dist/esm/index.js CHANGED
@@ -46198,6 +46198,9 @@ class Dice extends BaseItem {
46198
46198
  getIsRotating() {
46199
46199
  return !!this.animationFrameId;
46200
46200
  }
46201
+ getType() {
46202
+ return this.type;
46203
+ }
46201
46204
  getRange() {
46202
46205
  if (this.type === "custom") {
46203
46206
  return { min: 1, max: this.values.length };
package/dist/esm/node.js CHANGED
@@ -48733,6 +48733,9 @@ class Dice extends BaseItem {
48733
48733
  getIsRotating() {
48734
48734
  return !!this.animationFrameId;
48735
48735
  }
48736
+ getType() {
48737
+ return this.type;
48738
+ }
48736
48739
  getRange() {
48737
48740
  if (this.type === "custom") {
48738
48741
  return { min: 1, max: this.values.length };
@@ -27,6 +27,7 @@ export declare class Dice extends BaseItem {
27
27
  renderHTML(documentFactory: DocumentFactory): HTMLElement;
28
28
  deserialize(data: SerializedItemData): this;
29
29
  getIsRotating(): boolean;
30
+ getType(): DiceType;
30
31
  getRange(): {
31
32
  min: number;
32
33
  max: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.25",
3
+ "version": "0.4.26",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",