@tscircuit/runframe 0.0.2226 → 0.0.2227
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/{chunk-GDQQX4FG.js → chunk-5J3RFVPE.js} +3 -1
- package/dist/preview.d.ts +6 -1
- package/dist/preview.js +1 -1
- package/dist/runner.js +1 -1
- package/dist/standalone-preview.min.js +175 -175
- package/dist/standalone.min.js +175 -175
- package/package.json +1 -1
|
@@ -2177,7 +2177,7 @@ var usePostHogActivity = (properties) => {
|
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
2179
2179
|
// package.json
|
|
2180
|
-
var version = "0.0.
|
|
2180
|
+
var version = "0.0.2226";
|
|
2181
2181
|
var package_default = {
|
|
2182
2182
|
name: "@tscircuit/runframe",
|
|
2183
2183
|
main: "dist/preview.js",
|
|
@@ -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
package/dist/runner.js
CHANGED