@tscircuit/schematic-viewer 2.0.108 → 2.0.110

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
@@ -64,8 +64,12 @@ interface Props$1 {
64
64
  controller?: SchematicViewerController;
65
65
  /** Omit when the host has no enabled PCB view. */
66
66
  onViewPcbComponent?: (event: ViewPcbComponentEvent) => void;
67
+ /** Outline these components, e.g. to show what changed between two circuits. */
68
+ highlightedSchematicComponentIds?: string[];
69
+ /** Outline these schematic_text elements. */
70
+ highlightedSchematicTextIds?: string[];
67
71
  }
68
- declare const SchematicViewer: ({ circuitJson, platformConfig, containerStyle, debugGrid, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, searchEnabled, controller, onViewPcbComponent, css, className, }: Props$1) => react.JSX.Element;
72
+ declare const SchematicViewer: ({ circuitJson, platformConfig, containerStyle, debugGrid, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, searchEnabled, controller, onViewPcbComponent, highlightedSchematicComponentIds, highlightedSchematicTextIds, css, className, }: Props$1) => react.JSX.Element;
69
73
 
70
74
  interface BoundingBoxBounds {
71
75
  minX: number;