@tscircuit/core 0.0.255 → 0.0.256

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 CHANGED
@@ -16,6 +16,12 @@ type RenderPhaseStates = Record<RenderPhase, {
16
16
  initialized: boolean;
17
17
  dirty: boolean;
18
18
  }>;
19
+ type AsyncEffect = {
20
+ effectName: string;
21
+ promise: Promise<void>;
22
+ phase: RenderPhase;
23
+ complete: boolean;
24
+ };
19
25
  type RenderPhaseFunctions = {
20
26
  [T in RenderPhaseFn]?: () => void;
21
27
  };
@@ -9926,4 +9932,4 @@ declare module "react/jsx-runtime" {
9926
9932
  }
9927
9933
  }
9928
9934
 
9929
- export { Battery, Board, Capacitor, Chip, Circuit, type ComponentWithPins, Constraint, Crystal, Diode, FabricationNotePath, FabricationNoteText, Footprint, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, Mosfet, Net, NetAlias, NormalComponent, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, SmtPad, Subcircuit, Trace, TraceHint, Transistor, Via, applyEditEventsToManualEditsFile, createUseComponent, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
9935
+ export { type AsyncEffect, Battery, Board, Capacitor, Chip, Circuit, type ComponentWithPins, Constraint, Crystal, Diode, FabricationNotePath, FabricationNoteText, Footprint, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, Mosfet, Net, NetAlias, NormalComponent, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, type RenderPhase, type RenderPhaseFn, type RenderPhaseFunctions, type RenderPhaseStates, Renderable, Resistor, Resonator, RootCircuit, type RootCircuitEventName, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, SmtPad, Subcircuit, Trace, TraceHint, Transistor, Via, applyEditEventsToManualEditsFile, createUseComponent, orderedRenderPhases, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
package/dist/index.js CHANGED
@@ -1181,6 +1181,7 @@ var Net = class extends PrimitiveComponent {
1181
1181
  */
1182
1182
  doInitialPcbRouteNetIslands() {
1183
1183
  if (this.root?.pcbDisabled) return;
1184
+ if (this.getSubcircuit()._parsedProps.routingDisabled) return;
1184
1185
  const { db } = this.root;
1185
1186
  const { _parsedProps: props } = this;
1186
1187
  const traces = this._getAllDirectlyConnectedTraces().filter(
@@ -6498,6 +6499,7 @@ export {
6498
6499
  Via,
6499
6500
  applyEditEventsToManualEditsFile,
6500
6501
  createUseComponent,
6502
+ orderedRenderPhases,
6501
6503
  useCapacitor,
6502
6504
  useChip,
6503
6505
  useDiode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.255",
4
+ "version": "0.0.256",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",