@tscircuit/core 0.0.292 → 0.0.294

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5528,7 +5528,7 @@ var Capacitor = class extends NormalComponent {
5528
5528
  get config() {
5529
5529
  return {
5530
5530
  componentName: "Capacitor",
5531
- schematicSymbolName: this.props.symbolName ?? "capacitor",
5531
+ schematicSymbolName: this.props.polarized ? "capacitor_polarized" : this.props.symbolName ?? "capacitor",
5532
5532
  zodProps: capacitorProps,
5533
5533
  sourceFtype: FTYPE.simple_capacitor
5534
5534
  };
@@ -5622,7 +5622,8 @@ var Chip = class extends NormalComponent {
5622
5622
  // Default height, adjust as needed
5623
5623
  layer: props.layer ?? "top",
5624
5624
  rotation: props.pcbRotation ?? 0,
5625
- source_component_id: this.source_component_id
5625
+ source_component_id: this.source_component_id,
5626
+ subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0
5626
5627
  });
5627
5628
  this.pcb_component_id = pcb_component.pcb_component_id;
5628
5629
  }
@@ -5702,7 +5703,8 @@ var Jumper = class extends NormalComponent {
5702
5703
  // Default height, adjust as needed
5703
5704
  layer: props.layer ?? "top",
5704
5705
  rotation: props.pcbRotation ?? 0,
5705
- source_component_id: this.source_component_id
5706
+ source_component_id: this.source_component_id,
5707
+ subcircuit_id: this.getSubcircuit().subcircuit_id ?? void 0
5706
5708
  });
5707
5709
  this.pcb_component_id = pcb_component.pcb_component_id;
5708
5710
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.292",
4
+ "version": "0.0.294",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",