@tscircuit/runframe 0.0.164 → 0.0.166

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.
@@ -908,7 +908,8 @@ var CircuitJsonPreview = ({
908
908
  onEditEvent,
909
909
  editEvents,
910
910
  defaultActiveTab,
911
- autoRotate3dViewerDisabled
911
+ autoRotate3dViewerDisabled,
912
+ showSchematicDebugGrid = false
912
913
  }) => {
913
914
  useStyles();
914
915
  const [activeTab, setActiveTabState] = useState4(defaultActiveTab ?? "pcb");
@@ -1099,7 +1100,7 @@ var CircuitJsonPreview = ({
1099
1100
  editingEnabled: true,
1100
1101
  onEditEvent: (ee) => onEditEvent?.(ee),
1101
1102
  editEvents,
1102
- debugGrid: true
1103
+ debugGrid: showSchematicDebugGrid
1103
1104
  }
1104
1105
  ) : /* @__PURE__ */ jsx15(PreviewEmptyState_default, { onRunClicked }) })
1105
1106
  }
package/dist/preview.d.ts CHANGED
@@ -53,7 +53,8 @@ interface PreviewContentProps {
53
53
  editEvents?: ManualEditEvent[];
54
54
  onActiveTabChange?: (tab: TabId) => any;
55
55
  autoRotate3dViewerDisabled?: boolean;
56
+ showSchematicDebugGrid?: boolean;
56
57
  }
57
- declare const CircuitJsonPreview: ({ code, onRunClicked, errorMessage, circuitJsonKey, circuitJson, showRightHeaderContent, showCodeTab, codeTabContent, showJsonTab, showRenderLogTab, onActiveTabChange, renderLog, showImportAndFormatButtons, className, headerClassName, leftHeaderContent, readOnly, isStreaming, isRunningCode, hasCodeChangedSinceLastRun, onEditEvent, editEvents, defaultActiveTab, autoRotate3dViewerDisabled, }: PreviewContentProps) => react_jsx_runtime.JSX.Element;
58
+ declare const CircuitJsonPreview: ({ code, onRunClicked, errorMessage, circuitJsonKey, circuitJson, showRightHeaderContent, showCodeTab, codeTabContent, showJsonTab, showRenderLogTab, onActiveTabChange, renderLog, showImportAndFormatButtons, className, headerClassName, leftHeaderContent, readOnly, isStreaming, isRunningCode, hasCodeChangedSinceLastRun, onEditEvent, editEvents, defaultActiveTab, autoRotate3dViewerDisabled, showSchematicDebugGrid, }: PreviewContentProps) => react_jsx_runtime.JSX.Element;
58
59
 
59
60
  export { CircuitJsonPreview, type PreviewContentProps, type TabId };
package/dist/preview.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CircuitJsonPreview
3
- } from "./chunk-KUIX2JF3.js";
3
+ } from "./chunk-ZUVABKP3.js";
4
4
  export {
5
5
  CircuitJsonPreview
6
6
  };
package/dist/runner.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Button,
3
3
  CircuitJsonPreview
4
- } from "./chunk-KUIX2JF3.js";
4
+ } from "./chunk-ZUVABKP3.js";
5
5
 
6
6
  // lib/components/RunFrame.tsx
7
7
  import { createCircuitWebWorker } from "@tscircuit/eval";