canvu-react 0.4.19 → 0.4.21

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.
package/dist/native.d.cts CHANGED
@@ -12,16 +12,6 @@ type TimedTrailPoint = {
12
12
  readonly t: number;
13
13
  };
14
14
 
15
- type NativeVectorToolCursorKind = "crosshair" | "draw" | "marker" | "eraser" | "text";
16
- type NativeVectorToolCursor = {
17
- readonly kind: NativeVectorToolCursorKind;
18
- readonly size: number;
19
- readonly hotspot: {
20
- readonly x: number;
21
- readonly y: number;
22
- };
23
- };
24
-
25
15
  type PlacementPreview = {
26
16
  readonly kind: "rect" | "ellipse" | "architectural-cloud";
27
17
  readonly rect: {
@@ -68,15 +58,8 @@ type NativeInteractionOverlayProps = {
68
58
  readonly laserTrail?: readonly TimedTrailPoint[];
69
59
  readonly eraserPreviewItems?: readonly VectorSceneItem[];
70
60
  readonly previewStrokeStyle?: StrokeStyle;
71
- readonly toolCursor?: {
72
- readonly cursor: NativeVectorToolCursor;
73
- readonly point: {
74
- readonly x: number;
75
- readonly y: number;
76
- };
77
- } | null;
78
61
  };
79
- declare function NativeInteractionOverlay({ camera, width, height, selectedItems, showResizeHandles, placementPreview, eraserTrail, laserTrail, eraserPreviewItems, previewStrokeStyle, toolCursor, }: NativeInteractionOverlayProps): react_jsx_runtime.JSX.Element | null;
62
+ declare function NativeInteractionOverlay({ camera, width, height, selectedItems, showResizeHandles, placementPreview, eraserTrail, laserTrail, eraserPreviewItems, previewStrokeStyle, }: NativeInteractionOverlayProps): react_jsx_runtime.JSX.Element | null;
80
63
 
81
64
  type NativeSceneRendererProps = {
82
65
  readonly items: readonly VectorSceneItem[];
@@ -241,7 +224,6 @@ type NativeVectorViewportProps = {
241
224
  readonly onCameraChange?: () => void;
242
225
  readonly customPlacement?: NativeCustomShapePlacementOptions;
243
226
  readonly customPlacements?: readonly NativeCustomShapePlacementOptions[];
244
- readonly customCrosshairToolIds?: readonly string[];
245
227
  readonly toolbar?: React.ReactNode;
246
228
  readonly showStyleInspector?: boolean;
247
229
  readonly styleInspectorPlacement?: "bottom" | "top-left";
package/dist/native.d.ts CHANGED
@@ -12,16 +12,6 @@ type TimedTrailPoint = {
12
12
  readonly t: number;
13
13
  };
14
14
 
15
- type NativeVectorToolCursorKind = "crosshair" | "draw" | "marker" | "eraser" | "text";
16
- type NativeVectorToolCursor = {
17
- readonly kind: NativeVectorToolCursorKind;
18
- readonly size: number;
19
- readonly hotspot: {
20
- readonly x: number;
21
- readonly y: number;
22
- };
23
- };
24
-
25
15
  type PlacementPreview = {
26
16
  readonly kind: "rect" | "ellipse" | "architectural-cloud";
27
17
  readonly rect: {
@@ -68,15 +58,8 @@ type NativeInteractionOverlayProps = {
68
58
  readonly laserTrail?: readonly TimedTrailPoint[];
69
59
  readonly eraserPreviewItems?: readonly VectorSceneItem[];
70
60
  readonly previewStrokeStyle?: StrokeStyle;
71
- readonly toolCursor?: {
72
- readonly cursor: NativeVectorToolCursor;
73
- readonly point: {
74
- readonly x: number;
75
- readonly y: number;
76
- };
77
- } | null;
78
61
  };
79
- declare function NativeInteractionOverlay({ camera, width, height, selectedItems, showResizeHandles, placementPreview, eraserTrail, laserTrail, eraserPreviewItems, previewStrokeStyle, toolCursor, }: NativeInteractionOverlayProps): react_jsx_runtime.JSX.Element | null;
62
+ declare function NativeInteractionOverlay({ camera, width, height, selectedItems, showResizeHandles, placementPreview, eraserTrail, laserTrail, eraserPreviewItems, previewStrokeStyle, }: NativeInteractionOverlayProps): react_jsx_runtime.JSX.Element | null;
80
63
 
81
64
  type NativeSceneRendererProps = {
82
65
  readonly items: readonly VectorSceneItem[];
@@ -241,7 +224,6 @@ type NativeVectorViewportProps = {
241
224
  readonly onCameraChange?: () => void;
242
225
  readonly customPlacement?: NativeCustomShapePlacementOptions;
243
226
  readonly customPlacements?: readonly NativeCustomShapePlacementOptions[];
244
- readonly customCrosshairToolIds?: readonly string[];
245
227
  readonly toolbar?: React.ReactNode;
246
228
  readonly showStyleInspector?: boolean;
247
229
  readonly styleInspectorPlacement?: "bottom" | "top-left";