@tscircuit/schematic-viewer 2.0.80 → 2.0.85
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 +3 -1
- package/dist/index.js +1278 -347
- package/dist/index.js.map +1 -1
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,8 +26,10 @@ interface Props$1 {
|
|
|
26
26
|
}) => void;
|
|
27
27
|
/** Called when the active schematic sheet changes (multi-sheet circuits). */
|
|
28
28
|
onSchematicSheetChange?: (schematicSheetId: string) => void;
|
|
29
|
+
/** Show component and net-label search. Default true. */
|
|
30
|
+
searchEnabled?: boolean;
|
|
29
31
|
}
|
|
30
|
-
declare const SchematicViewer: ({ circuitJson, containerStyle, debugGrid, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, css, className, }: Props$1) => react.JSX.Element;
|
|
32
|
+
declare const SchematicViewer: ({ circuitJson, containerStyle, debugGrid, debug, clickToInteractEnabled, colorOverrides, disableGroups, netHoverHighlightEnabled, onSchematicComponentClicked, showSchematicPorts, onSchematicPortClicked, onSchematicSheetChange, searchEnabled, css, className, }: Props$1) => react.JSX.Element;
|
|
31
33
|
|
|
32
34
|
interface BoundingBoxBounds {
|
|
33
35
|
minX: number;
|