microboard-temp 0.5.138 → 0.5.139

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.
@@ -53323,10 +53323,9 @@ class BoardSelection {
53323
53323
  function addItemToTranslation(itemId) {
53324
53324
  translation[itemId] = {
53325
53325
  class: "Transformation",
53326
- method: "scaleByTranslateBy",
53326
+ method: "applyMatrix",
53327
53327
  item: [itemId],
53328
- scale: { x: 1, y: 1 },
53329
- translate: { x, y }
53328
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53330
53329
  };
53331
53330
  }
53332
53331
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -53342,10 +53341,9 @@ class BoardSelection {
53342
53341
  for (const comment2 of followedComments) {
53343
53342
  translation[comment2.getId()] = {
53344
53343
  class: "Transformation",
53345
- method: "scaleByTranslateBy",
53344
+ method: "applyMatrix",
53346
53345
  item: [comment2.getId()],
53347
- scale: { x: 1, y: 1 },
53348
- translate: { x, y }
53346
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53349
53347
  };
53350
53348
  }
53351
53349
  };
package/dist/cjs/index.js CHANGED
@@ -53323,10 +53323,9 @@ class BoardSelection {
53323
53323
  function addItemToTranslation(itemId) {
53324
53324
  translation[itemId] = {
53325
53325
  class: "Transformation",
53326
- method: "scaleByTranslateBy",
53326
+ method: "applyMatrix",
53327
53327
  item: [itemId],
53328
- scale: { x: 1, y: 1 },
53329
- translate: { x, y }
53328
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53330
53329
  };
53331
53330
  }
53332
53331
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -53342,10 +53341,9 @@ class BoardSelection {
53342
53341
  for (const comment2 of followedComments) {
53343
53342
  translation[comment2.getId()] = {
53344
53343
  class: "Transformation",
53345
- method: "scaleByTranslateBy",
53344
+ method: "applyMatrix",
53346
53345
  item: [comment2.getId()],
53347
- scale: { x: 1, y: 1 },
53348
- translate: { x, y }
53346
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53349
53347
  };
53350
53348
  }
53351
53349
  };
package/dist/cjs/node.js CHANGED
@@ -55796,10 +55796,9 @@ class BoardSelection {
55796
55796
  function addItemToTranslation(itemId) {
55797
55797
  translation[itemId] = {
55798
55798
  class: "Transformation",
55799
- method: "scaleByTranslateBy",
55799
+ method: "applyMatrix",
55800
55800
  item: [itemId],
55801
- scale: { x: 1, y: 1 },
55802
- translate: { x, y }
55801
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
55803
55802
  };
55804
55803
  }
55805
55804
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -55815,10 +55814,9 @@ class BoardSelection {
55815
55814
  for (const comment2 of followedComments) {
55816
55815
  translation[comment2.getId()] = {
55817
55816
  class: "Transformation",
55818
- method: "scaleByTranslateBy",
55817
+ method: "applyMatrix",
55819
55818
  item: [comment2.getId()],
55820
- scale: { x: 1, y: 1 },
55821
- translate: { x, y }
55819
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
55822
55820
  };
55823
55821
  }
55824
55822
  };
@@ -53166,10 +53166,9 @@ class BoardSelection {
53166
53166
  function addItemToTranslation(itemId) {
53167
53167
  translation[itemId] = {
53168
53168
  class: "Transformation",
53169
- method: "scaleByTranslateBy",
53169
+ method: "applyMatrix",
53170
53170
  item: [itemId],
53171
- scale: { x: 1, y: 1 },
53172
- translate: { x, y }
53171
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53173
53172
  };
53174
53173
  }
53175
53174
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -53185,10 +53184,9 @@ class BoardSelection {
53185
53184
  for (const comment2 of followedComments) {
53186
53185
  translation[comment2.getId()] = {
53187
53186
  class: "Transformation",
53188
- method: "scaleByTranslateBy",
53187
+ method: "applyMatrix",
53189
53188
  item: [comment2.getId()],
53190
- scale: { x: 1, y: 1 },
53191
- translate: { x, y }
53189
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53192
53190
  };
53193
53191
  }
53194
53192
  };
package/dist/esm/index.js CHANGED
@@ -53159,10 +53159,9 @@ class BoardSelection {
53159
53159
  function addItemToTranslation(itemId) {
53160
53160
  translation[itemId] = {
53161
53161
  class: "Transformation",
53162
- method: "scaleByTranslateBy",
53162
+ method: "applyMatrix",
53163
53163
  item: [itemId],
53164
- scale: { x: 1, y: 1 },
53165
- translate: { x, y }
53164
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53166
53165
  };
53167
53166
  }
53168
53167
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -53178,10 +53177,9 @@ class BoardSelection {
53178
53177
  for (const comment2 of followedComments) {
53179
53178
  translation[comment2.getId()] = {
53180
53179
  class: "Transformation",
53181
- method: "scaleByTranslateBy",
53180
+ method: "applyMatrix",
53182
53181
  item: [comment2.getId()],
53183
- scale: { x: 1, y: 1 },
53184
- translate: { x, y }
53182
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
53185
53183
  };
53186
53184
  }
53187
53185
  };
package/dist/esm/node.js CHANGED
@@ -55627,10 +55627,9 @@ class BoardSelection {
55627
55627
  function addItemToTranslation(itemId) {
55628
55628
  translation[itemId] = {
55629
55629
  class: "Transformation",
55630
- method: "scaleByTranslateBy",
55630
+ method: "applyMatrix",
55631
55631
  item: [itemId],
55632
- scale: { x: 1, y: 1 },
55633
- translate: { x, y }
55632
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
55634
55633
  };
55635
55634
  }
55636
55635
  function tryToAddFrameChildrenToTranslation(selectedItem) {
@@ -55646,10 +55645,9 @@ class BoardSelection {
55646
55645
  for (const comment2 of followedComments) {
55647
55646
  translation[comment2.getId()] = {
55648
55647
  class: "Transformation",
55649
- method: "scaleByTranslateBy",
55648
+ method: "applyMatrix",
55650
55649
  item: [comment2.getId()],
55651
- scale: { x: 1, y: 1 },
55652
- translate: { x, y }
55650
+ matrix: { translateX: x, translateY: y, scaleX: 1, scaleY: 1, shearX: 0, shearY: 0 }
55653
55651
  };
55654
55652
  }
55655
55653
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.138",
3
+ "version": "0.5.139",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",