@tscircuit/runframe 0.0.2226 → 0.0.2228

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.
@@ -2177,7 +2177,7 @@ var usePostHogActivity = (properties) => {
2177
2177
  };
2178
2178
 
2179
2179
  // package.json
2180
- var version = "0.0.2225";
2180
+ var version = "0.0.2227";
2181
2181
  var package_default = {
2182
2182
  name: "@tscircuit/runframe",
2183
2183
  main: "dist/preview.js",
@@ -2293,7 +2293,7 @@ var package_default = {
2293
2293
  yargs: "^17.7.2"
2294
2294
  },
2295
2295
  dependencies: {
2296
- "@tscircuit/eval": "^0.0.1023",
2296
+ "@tscircuit/eval": "^0.0.1024",
2297
2297
  "@tscircuit/solver-utils": "^0.0.7"
2298
2298
  }
2299
2299
  };
@@ -6272,6 +6272,7 @@ var CircuitJsonPreview = ({
6272
6272
  isCli = false,
6273
6273
  projectName,
6274
6274
  schematicSvgOptions,
6275
+ hideSchematicInAnalogSimulation = false,
6275
6276
  onRerunWithDebug,
6276
6277
  solverEvents,
6277
6278
  onPcbBoundsSelected
@@ -6761,6 +6762,7 @@ var CircuitJsonPreview = ({
6761
6762
  AnalogSimulationViewer,
6762
6763
  {
6763
6764
  circuitJson,
6765
+ hideSchematic: hideSchematicInAnalogSimulation,
6764
6766
  containerStyle: {
6765
6767
  height: "100%"
6766
6768
  }
package/dist/preview.d.ts CHANGED
@@ -54,6 +54,11 @@ interface PreviewContentProps {
54
54
  css?: string;
55
55
  className?: string;
56
56
  };
57
+ /**
58
+ * Hide the schematic in the analog simulation view and show only the graph.
59
+ * Defaults to false.
60
+ */
61
+ hideSchematicInAnalogSimulation?: boolean;
57
62
  showCodeTab?: boolean;
58
63
  showRenderLogTab?: boolean;
59
64
  codeTabContent?: React.ReactNode;
@@ -147,7 +152,7 @@ declare global {
147
152
  }
148
153
  }
149
154
 
150
- declare const CircuitJsonPreview: ({ code, fsMap, onRunClicked, errorMessage, errorStack, circuitJson, autoroutingGraphics, showRightHeaderContent, showCodeTab, codeTabContent, showJsonTab, showRenderLogTab, onActiveTabChange, renderLog, showImportAndFormatButtons, className, headerClassName, leftHeaderContent, readOnly, isStreaming, autoroutingLog, onReportAutoroutingLog, isRunningCode, hasCodeChangedSinceLastRun, onEditEvent, editEvents, defaultActiveTab, defaultTab, availableTabs, autoRotate3dViewerDisabled, showSchematicDebugGrid: showSchematicDebugGridProp, showSchematicPorts: showSchematicPortsProp, onChangeShowSchematicDebugGrid, onChangeShowSchematicPorts, showToggleFullScreen, defaultToFullScreen, activeEffectName, allowSelectingVersion, showFileMenu, isWebEmbedded, isCli, projectName, schematicSvgOptions, onRerunWithDebug, solverEvents, onPcbBoundsSelected, }: PreviewContentProps) => react.JSX.Element;
155
+ declare const CircuitJsonPreview: ({ code, fsMap, onRunClicked, errorMessage, errorStack, circuitJson, autoroutingGraphics, showRightHeaderContent, showCodeTab, codeTabContent, showJsonTab, showRenderLogTab, onActiveTabChange, renderLog, showImportAndFormatButtons, className, headerClassName, leftHeaderContent, readOnly, isStreaming, autoroutingLog, onReportAutoroutingLog, isRunningCode, hasCodeChangedSinceLastRun, onEditEvent, editEvents, defaultActiveTab, defaultTab, availableTabs, autoRotate3dViewerDisabled, showSchematicDebugGrid: showSchematicDebugGridProp, showSchematicPorts: showSchematicPortsProp, onChangeShowSchematicDebugGrid, onChangeShowSchematicPorts, showToggleFullScreen, defaultToFullScreen, activeEffectName, allowSelectingVersion, showFileMenu, isWebEmbedded, isCli, projectName, schematicSvgOptions, hideSchematicInAnalogSimulation, onRerunWithDebug, solverEvents, onPcbBoundsSelected, }: PreviewContentProps) => react.JSX.Element;
151
156
 
152
157
  interface BomTableProps {
153
158
  circuitJson: AnyCircuitElement[];
package/dist/preview.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  SchematicViewer,
8
8
  useOrderDialog,
9
9
  useOrderDialogCli
10
- } from "./chunk-GDQQX4FG.js";
10
+ } from "./chunk-L2WOJYUX.js";
11
11
  export {
12
12
  BomTable,
13
13
  CadViewer,
package/dist/runner.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  useRunFrameStore,
40
40
  useRunnerStore,
41
41
  useStyles
42
- } from "./chunk-GDQQX4FG.js";
42
+ } from "./chunk-L2WOJYUX.js";
43
43
 
44
44
  // lib/components/RunFrame/RunFrame.tsx
45
45
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";