terra-draw 1.27.0 → 1.28.1

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.
@@ -80,6 +80,7 @@ export declare abstract class TerraDrawBaseDrawMode<Styling extends CustomStylin
80
80
  onKeyDown(event: TerraDrawKeyboardEvent): void;
81
81
  onKeyUp(event: TerraDrawKeyboardEvent): void;
82
82
  undo(): void;
83
+ clearHistory(): void;
83
84
  undoSize(): number;
84
85
  redoSize(): number;
85
86
  redo(): void;
@@ -89,6 +89,7 @@ export declare class TerraDrawLineStringMode extends TerraDrawBaseDrawMode<LineS
89
89
  private firstUpdateToLine;
90
90
  private updateToLine;
91
91
  undoSize(): number;
92
+ clearHistory(): void;
92
93
  private pushHistorySnapshot;
93
94
  private updateSnappedGuidancePointFromLastMouseMove;
94
95
  private syncClosingPoints;
@@ -89,6 +89,7 @@ export declare class TerraDrawPolygonMode extends TerraDrawBaseDrawMode<PolygonS
89
89
  stop(): void;
90
90
  private updateSnappedCoordinate;
91
91
  undoSize(): number;
92
+ clearHistory(): void;
92
93
  private pushHistorySnapshot;
93
94
  private updateSnappedGuidancePointFromLastMouseMove;
94
95
  private syncClosingPoints;