@tscircuit/schematic-viewer 2.0.77 → 2.0.79

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/index.d.ts CHANGED
@@ -1,17 +1,12 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { ColorOverrides, AcSweepView } from 'circuit-to-svg';
4
- import { ManualEditEvent } from '@tscircuit/props';
5
3
  import { CircuitJson } from 'circuit-json';
4
+ import { ColorOverrides, AcSweepView } from 'circuit-to-svg';
6
5
 
7
6
  interface Props$1 {
8
7
  circuitJson: CircuitJson;
9
8
  containerStyle?: React.CSSProperties;
10
- editEvents?: ManualEditEvent[];
11
- onEditEvent?: (event: ManualEditEvent) => void;
12
- defaultEditMode?: boolean;
13
9
  debugGrid?: boolean;
14
- editingEnabled?: boolean;
15
10
  debug?: boolean;
16
11
  clickToInteractEnabled?: boolean;
17
12
  colorOverrides?: ColorOverrides;
@@ -32,7 +27,7 @@ interface Props$1 {
32
27
  /** Called when the active schematic sheet changes (multi-sheet circuits). */
33
28
  onSchematicSheetChange?: (schematicSheetId: string) => void;
34
29
  }
35
- declare const SchematicViewer: ({ circuitJson, containerStyle, editEvents: unappliedEditEvents, onEditEvent, defaultEditMode, debugGrid, editingEnabled, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, css, className, }: Props$1) => react.JSX.Element;
30
+ declare const SchematicViewer: ({ circuitJson, containerStyle, debugGrid, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, css, className, }: Props$1) => react.JSX.Element;
36
31
 
37
32
  interface BoundingBoxBounds {
38
33
  minX: number;