@tscircuit/schematic-viewer 2.0.68 → 2.0.70
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 -2
- package/dist/index.js +266 -921
- package/dist/index.js.map +1 -1
- package/package.json +5 -11
- package/dist/workers/spice-simulation.worker.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,9 @@ interface Props$1 {
|
|
|
15
15
|
debug?: boolean;
|
|
16
16
|
clickToInteractEnabled?: boolean;
|
|
17
17
|
colorOverrides?: ColorOverrides;
|
|
18
|
-
spiceSimulationEnabled?: boolean;
|
|
19
18
|
disableGroups?: boolean;
|
|
19
|
+
/** Fade unrelated nets/chips when hovering a wire or net label. Default true. */
|
|
20
|
+
netHoverHighlightEnabled?: boolean;
|
|
20
21
|
css?: string;
|
|
21
22
|
className?: string;
|
|
22
23
|
onSchematicComponentClicked?: (options: {
|
|
@@ -31,7 +32,7 @@ interface Props$1 {
|
|
|
31
32
|
/** Called when the active schematic sheet changes (multi-sheet circuits). */
|
|
32
33
|
onSchematicSheetChange?: (schematicSheetId: string) => void;
|
|
33
34
|
}
|
|
34
|
-
declare const SchematicViewer: ({ circuitJson, containerStyle, editEvents: unappliedEditEvents, onEditEvent, defaultEditMode, debugGrid, editingEnabled, debug, clickToInteractEnabled, colorOverrides,
|
|
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;
|
|
35
36
|
|
|
36
37
|
interface BoundingBoxBounds {
|
|
37
38
|
minX: number;
|