microboard-temp 0.14.33 → 0.14.35

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.
@@ -58797,7 +58797,6 @@ var BASIC_INLINE_OPTIONS = [
58797
58797
  ];
58798
58798
  var SHAPE_CATALOG_OPTIONS = [
58799
58799
  ...BASIC_INLINE_OPTIONS,
58800
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
58801
58800
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
58802
58801
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
58803
58802
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -58809,8 +58808,6 @@ var SHAPE_CATALOG_OPTIONS = [
58809
58808
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
58810
58809
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
58811
58810
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
58812
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
58813
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
58814
58811
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
58815
58812
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
58816
58813
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -71828,7 +71825,7 @@ class Select extends BoardTool {
71828
71825
  const dragTarget = this.downOnItem;
71829
71826
  const hasDragTarget = !!dragTarget;
71830
71827
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
71831
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
71828
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
71832
71829
  const isCtrlPressed = this.board.keyboard.isCtrl;
71833
71830
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
71834
71831
  }
package/dist/cjs/index.js CHANGED
@@ -58797,7 +58797,6 @@ var BASIC_INLINE_OPTIONS = [
58797
58797
  ];
58798
58798
  var SHAPE_CATALOG_OPTIONS = [
58799
58799
  ...BASIC_INLINE_OPTIONS,
58800
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
58801
58800
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
58802
58801
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
58803
58802
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -58809,8 +58808,6 @@ var SHAPE_CATALOG_OPTIONS = [
58809
58808
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
58810
58809
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
58811
58810
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
58812
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
58813
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
58814
58811
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
58815
58812
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
58816
58813
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -71828,7 +71825,7 @@ class Select extends BoardTool {
71828
71825
  const dragTarget = this.downOnItem;
71829
71826
  const hasDragTarget = !!dragTarget;
71830
71827
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
71831
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
71828
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
71832
71829
  const isCtrlPressed = this.board.keyboard.isCtrl;
71833
71830
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
71834
71831
  }
package/dist/cjs/node.js CHANGED
@@ -61270,7 +61270,6 @@ var BASIC_INLINE_OPTIONS = [
61270
61270
  ];
61271
61271
  var SHAPE_CATALOG_OPTIONS = [
61272
61272
  ...BASIC_INLINE_OPTIONS,
61273
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
61274
61273
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
61275
61274
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
61276
61275
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -61282,8 +61281,6 @@ var SHAPE_CATALOG_OPTIONS = [
61282
61281
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
61283
61282
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
61284
61283
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
61285
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
61286
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
61287
61284
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
61288
61285
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
61289
61286
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -74301,7 +74298,7 @@ class Select extends BoardTool {
74301
74298
  const dragTarget = this.downOnItem;
74302
74299
  const hasDragTarget = !!dragTarget;
74303
74300
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
74304
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
74301
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
74305
74302
  const isCtrlPressed = this.board.keyboard.isCtrl;
74306
74303
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
74307
74304
  }
@@ -87,8 +87,8 @@ const overlayIconManifest = {
87
87
  "overlay-icons/Items/Shape/Basic/Star/Star.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C35%20H%2035%20L%2050%2C0%2065%2C35%20h%2035%20L%2075%2C60%2090%2C95%2050%2C75%2010%2C95%2025%2C60%20Z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
88
88
  "overlay-icons/Items/Shape/Basic/Trapezoid/Trapezoid.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C100%2020%2C0%20h%2060%20l%2020%2C100%20z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
89
89
  "overlay-icons/Items/Shape/Basic/Triangle/Triangle.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C100%2050%2C0%20100%2C100%20Z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
90
- "overlay-icons/Items/Shape/icons/ArrowBlockLeft.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M10%205%203%2012l7%207v-4h11V9H10z%22%2F%3E%3C%2Fsvg%3E",
91
- "overlay-icons/Items/Shape/icons/ArrowBlockRight.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m14%205%207%207-7%207v-4H3V9h11z%22%2F%3E%3C%2Fsvg%3E",
90
+ "overlay-icons/Items/Shape/icons/ArrowBlockLeft.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M7%204h14l-5%208%205%208H7L2%2012%207%204Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E",
91
+ "overlay-icons/Items/Shape/icons/ArrowBlockRight.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17%204H3l5%208-5%208h14l5-8-5-8Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E",
92
92
  "overlay-icons/Items/Shape/icons/Color.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6%2017h12v2H6z%22%2F%3E%20%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22m12%204%205%208H7z%22%2F%3E%3C%2Fsvg%3E",
93
93
  "overlay-icons/Items/Shape/icons/Fill.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%204%205%2011l7%207%207-7zm0%2011.17L7.83%2011%2012%206.83%2016.17%2011z%22%2F%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%2019h14v2H5z%22%2F%3E%3C%2Fsvg%3E",
94
94
  "overlay-icons/Items/Shape/icons/PredefinedProcess.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2212%22%20rx%3D%221.5%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%2F%3E%20%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M8%206v12m8-12v12%22%2F%3E%3C%2Fsvg%3E",
@@ -58579,7 +58579,6 @@ var BASIC_INLINE_OPTIONS = [
58579
58579
  ];
58580
58580
  var SHAPE_CATALOG_OPTIONS = [
58581
58581
  ...BASIC_INLINE_OPTIONS,
58582
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
58583
58582
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
58584
58583
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
58585
58584
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -58591,8 +58590,6 @@ var SHAPE_CATALOG_OPTIONS = [
58591
58590
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
58592
58591
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
58593
58592
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
58594
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
58595
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
58596
58593
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
58597
58594
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
58598
58595
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -71610,7 +71607,7 @@ class Select extends BoardTool {
71610
71607
  const dragTarget = this.downOnItem;
71611
71608
  const hasDragTarget = !!dragTarget;
71612
71609
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
71613
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
71610
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
71614
71611
  const isCtrlPressed = this.board.keyboard.isCtrl;
71615
71612
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
71616
71613
  }
package/dist/esm/index.js CHANGED
@@ -58572,7 +58572,6 @@ var BASIC_INLINE_OPTIONS = [
58572
58572
  ];
58573
58573
  var SHAPE_CATALOG_OPTIONS = [
58574
58574
  ...BASIC_INLINE_OPTIONS,
58575
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
58576
58575
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
58577
58576
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
58578
58577
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -58584,8 +58583,6 @@ var SHAPE_CATALOG_OPTIONS = [
58584
58583
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
58585
58584
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
58586
58585
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
58587
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
58588
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
58589
58586
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
58590
58587
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
58591
58588
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -71603,7 +71600,7 @@ class Select extends BoardTool {
71603
71600
  const dragTarget = this.downOnItem;
71604
71601
  const hasDragTarget = !!dragTarget;
71605
71602
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
71606
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
71603
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
71607
71604
  const isCtrlPressed = this.board.keyboard.isCtrl;
71608
71605
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
71609
71606
  }
package/dist/esm/node.js CHANGED
@@ -61040,7 +61040,6 @@ var BASIC_INLINE_OPTIONS = [
61040
61040
  ];
61041
61041
  var SHAPE_CATALOG_OPTIONS = [
61042
61042
  ...BASIC_INLINE_OPTIONS,
61043
- { id: "reversed-triangle", label: "Reversed triangle", value: "ReversedTriangle", icon: localShapeIcon("ReversedTriangle"), family: "basicShapes" },
61044
61043
  { id: "arrow-left", label: "Arrow left", value: "ArrowLeft", icon: shapeSymbolIcon("ArrowLeft"), family: "basicShapes" },
61045
61044
  { id: "arrow-right", label: "Arrow right", value: "ArrowRight", icon: shapeSymbolIcon("ArrowRight"), family: "basicShapes" },
61046
61045
  { id: "arrow-left-right", label: "Arrow left right", value: "ArrowLeftRight", icon: shapeSymbolIcon("ArrowLeftRight"), family: "basicShapes" },
@@ -61052,8 +61051,6 @@ var SHAPE_CATALOG_OPTIONS = [
61052
61051
  { id: "hexagon", label: "Hexagon", value: "Hexagon", icon: shapeSymbolIcon("Hexagon"), family: "basicShapes" },
61053
61052
  { id: "octagon", label: "Octagon", value: "Octagon", icon: shapeSymbolIcon("Octagon"), family: "basicShapes" },
61054
61053
  { id: "parallelogram", label: "Parallelogram", value: "Parallelogram", icon: shapeSymbolIcon("Parallelogram"), family: "basicShapes" },
61055
- { id: "reversed-parallelogram", label: "Reversed parallelogram", value: "ReversedParallelogram", icon: localShapeIcon("ReversedParallelogram"), family: "basicShapes" },
61056
- { id: "pentagon", label: "Pentagon", value: "Pentagon", icon: shapeSymbolIcon("Pentagon"), family: "basicShapes" },
61057
61054
  { id: "predefined-process", label: "Predefined process", value: "PredefinedProcess", icon: shapeSymbolIcon("PredefinedProcess"), family: "basicShapes" },
61058
61055
  { id: "speech-bubble", label: "Speech bubble", value: "SpeachBubble", icon: shapeSymbolIcon("SpeachBubble"), family: "basicShapes" },
61059
61056
  { id: "star", label: "Star", value: "Star", icon: shapeSymbolIcon("Star"), family: "basicShapes" },
@@ -74071,7 +74068,7 @@ class Select extends BoardTool {
74071
74068
  const dragTarget = this.downOnItem;
74072
74069
  const hasDragTarget = !!dragTarget;
74073
74070
  const isConnectorAnchorHandle = hasDragTarget && !dragTarget.isAlignmentSource();
74074
- const hasSingleConnectedPoint = hasDragTarget && dragTarget.isConnectedOnePoint();
74071
+ const hasSingleConnectedPoint = hasDragTarget && typeof dragTarget.isConnectedOnePoint === "function" && dragTarget.isConnectedOnePoint();
74075
74072
  const isCtrlPressed = this.board.keyboard.isCtrl;
74076
74073
  return isConnectorAnchorHandle && hasSingleConnectedPoint && !isCtrlPressed;
74077
74074
  }
@@ -86,8 +86,8 @@ export const overlayIconManifest = {
86
86
  "overlay-icons/Items/Shape/Basic/Star/Star.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C35%20H%2035%20L%2050%2C0%2065%2C35%20h%2035%20L%2075%2C60%2090%2C95%2050%2C75%2010%2C95%2025%2C60%20Z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
87
87
  "overlay-icons/Items/Shape/Basic/Trapezoid/Trapezoid.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C100%2020%2C0%20h%2060%20l%2020%2C100%20z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
88
88
  "overlay-icons/Items/Shape/Basic/Triangle/Triangle.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%3E%20%3Cg%3E%20%3Cpath%20style%3D%22fill%3Anone%3Bstroke%3A%23000000%3Bstroke-width%3A4.166666666666667px%3B%22%20d%3D%22M%200%2C100%2050%2C0%20100%2C100%20Z%22%20transform%3D%22translate(1%2C1)%20scale(0.22)%22%20%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E",
89
- "overlay-icons/Items/Shape/icons/ArrowBlockLeft.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M10%205%203%2012l7%207v-4h11V9H10z%22%2F%3E%3C%2Fsvg%3E",
90
- "overlay-icons/Items/Shape/icons/ArrowBlockRight.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m14%205%207%207-7%207v-4H3V9h11z%22%2F%3E%3C%2Fsvg%3E",
89
+ "overlay-icons/Items/Shape/icons/ArrowBlockLeft.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M7%204h14l-5%208%205%208H7L2%2012%207%204Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E",
90
+ "overlay-icons/Items/Shape/icons/ArrowBlockRight.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20d%3D%22M17%204H3l5%208-5%208h14l5-8-5-8Z%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%20%2F%3E%3C%2Fsvg%3E",
91
91
  "overlay-icons/Items/Shape/icons/Color.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6%2017h12v2H6z%22%2F%3E%20%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22m12%204%205%208H7z%22%2F%3E%3C%2Fsvg%3E",
92
92
  "overlay-icons/Items/Shape/icons/Fill.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%204%205%2011l7%207%207-7zm0%2011.17L7.83%2011%2012%206.83%2016.17%2011z%22%2F%3E%20%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%2019h14v2H5z%22%2F%3E%3C%2Fsvg%3E",
93
93
  "overlay-icons/Items/Shape/icons/PredefinedProcess.icon.svg": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%20%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2212%22%20rx%3D%221.5%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%2F%3E%20%3Cpath%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M8%206v12m8-12v12%22%2F%3E%3C%2Fsvg%3E",
@@ -1,3 +1,8 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
2
- <path fill="currentColor" d="M10 5 3 12l7 7v-4h11V9H10z"/>
2
+ <path
3
+ d="M7 4h14l-5 8 5 8H7L2 12 7 4Z"
4
+ stroke="currentColor"
5
+ stroke-width="1.5"
6
+ stroke-linejoin="round"
7
+ />
3
8
  </svg>
@@ -1,3 +1,8 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
2
- <path fill="currentColor" d="m14 5 7 7-7 7v-4H3V9h11z"/>
2
+ <path
3
+ d="M17 4H3l5 8-5 8h14l5-8-5-8Z"
4
+ stroke="currentColor"
5
+ stroke-width="1.5"
6
+ stroke-linejoin="round"
7
+ />
3
8
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.14.33",
3
+ "version": "0.14.35",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",