@tscircuit/core 0.0.243 → 0.0.244

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
@@ -137,6 +137,12 @@ declare class RootCircuit {
137
137
  * @deprecated
138
138
  */
139
139
  declare const Project: typeof RootCircuit;
140
+ /**
141
+ * We currently don't make a distinction between RootCircuit and Circuit, but
142
+ * we may in the future allow subcircuits to be created as new Circuit then
143
+ * incorporated into a larger RootCircuit
144
+ */
145
+ declare const Circuit: typeof RootCircuit;
140
146
 
141
147
  interface ISubcircuit extends PrimitiveComponent {
142
148
  _shouldUseTraceByTraceRouting(): boolean;
@@ -8671,4 +8677,4 @@ declare module "react/jsx-runtime" {
8671
8677
  }
8672
8678
  }
8673
8679
 
8674
- export { Battery, Board, Capacitor, Chip, type ComponentWithPins, Constraint, Crystal, Diode, FabricationNotePath, FabricationNoteText, Footprint, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, Net, NetAlias, NormalComponent, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, Renderable, Resistor, RootCircuit, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, SmtPad, Subcircuit, Trace, TraceHint, Via, applyEditEventsToManualEditsFile, createUseComponent, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
8680
+ export { Battery, Board, Capacitor, Chip, Circuit, type ComponentWithPins, Constraint, Crystal, Diode, FabricationNotePath, FabricationNoteText, Footprint, Group, Hole, type IRenderable, Inductor, Jumper, Keepout, Led, Net, NetAlias, NormalComponent, PinHeader, type PinLabelSpec, PlatedHole, Port, Potentiometer, PowerSource, PrimitiveComponent, Project, PushButton, Renderable, Resistor, RootCircuit, SilkscreenCircle, SilkscreenLine, SilkscreenPath, SilkscreenRect, SilkscreenText, SmtPad, Subcircuit, Trace, TraceHint, Via, applyEditEventsToManualEditsFile, createUseComponent, useCapacitor, useChip, useDiode, useLed, useRenderedCircuit, useResistor };
package/dist/index.js CHANGED
@@ -6035,6 +6035,7 @@ var RootCircuit = class {
6035
6035
  }
6036
6036
  };
6037
6037
  var Project = RootCircuit;
6038
+ var Circuit = RootCircuit;
6038
6039
 
6039
6040
  // lib/hooks/use-rendered-circuit.ts
6040
6041
  import React from "react";
@@ -6200,6 +6201,7 @@ export {
6200
6201
  Board,
6201
6202
  Capacitor,
6202
6203
  Chip,
6204
+ Circuit,
6203
6205
  Constraint2 as Constraint,
6204
6206
  Crystal,
6205
6207
  Diode,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.243",
4
+ "version": "0.0.244",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",