@tscircuit/core 0.0.737 → 0.0.739

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 +8 -8
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -7476,6 +7476,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
7476
7476
  center,
7477
7477
  size: symbol.size,
7478
7478
  source_component_id: this.source_component_id,
7479
+ is_box_with_pins: true,
7479
7480
  symbol_name,
7480
7481
  symbol_display_value: this._getSchematicSymbolDisplayValue()
7481
7482
  });
@@ -7491,8 +7492,8 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
7491
7492
  // width/height are computed in the SchematicComponentSizeCalculation phase
7492
7493
  size: { width: 0, height: 0 },
7493
7494
  source_component_id: this.source_component_id,
7494
- symbol_name: "custom_symbol",
7495
- symbol_display_value: this._getSchematicSymbolDisplayValue()
7495
+ symbol_display_value: this._getSchematicSymbolDisplayValue(),
7496
+ is_box_with_pins: false
7496
7497
  });
7497
7498
  this.schematic_component_id = schematic_component2.schematic_component_id;
7498
7499
  this.add(symbolElement);
@@ -7630,8 +7631,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
7630
7631
  const schematic_component2 = db.schematic_component.get(
7631
7632
  this.schematic_component_id
7632
7633
  );
7633
- if (!schematic_component2 || schematic_component2.symbol_name !== "custom_symbol")
7634
- return;
7634
+ if (!schematic_component2) return;
7635
7635
  const schematicElements = [];
7636
7636
  const collectSchematicPrimitives = (children) => {
7637
7637
  for (const child of children) {
@@ -15539,7 +15539,7 @@ import { identity as identity6 } from "transformation-matrix";
15539
15539
  var package_default = {
15540
15540
  name: "@tscircuit/core",
15541
15541
  type: "module",
15542
- version: "0.0.736",
15542
+ version: "0.0.738",
15543
15543
  types: "dist/index.d.ts",
15544
15544
  main: "dist/index.js",
15545
15545
  module: "dist/index.js",
@@ -15581,7 +15581,7 @@ var package_default = {
15581
15581
  "@tscircuit/props": "0.0.335",
15582
15582
  "@tscircuit/schematic-autolayout": "^0.0.6",
15583
15583
  "@tscircuit/schematic-match-adapt": "^0.0.16",
15584
- "@tscircuit/schematic-trace-solver": "^0.0.37",
15584
+ "@tscircuit/schematic-trace-solver": "^0.0.38",
15585
15585
  "@tscircuit/simple-3d-svg": "^0.0.41",
15586
15586
  "@types/bun": "^1.2.16",
15587
15587
  "@types/debug": "^4.1.12",
@@ -15592,11 +15592,11 @@ var package_default = {
15592
15592
  "bun-match-svg": "0.0.12",
15593
15593
  "calculate-elbow": "^0.0.12",
15594
15594
  "chokidar-cli": "^3.0.0",
15595
- "circuit-json": "^0.0.260",
15595
+ "circuit-json": "^0.0.261",
15596
15596
  "circuit-json-to-bpc": "^0.0.13",
15597
15597
  "circuit-json-to-connectivity-map": "^0.0.22",
15598
15598
  "circuit-json-to-simple-3d": "^0.0.8",
15599
- "circuit-to-svg": "^0.0.196",
15599
+ "circuit-to-svg": "^0.0.197",
15600
15600
  concurrently: "^9.1.2",
15601
15601
  "connectivity-map": "^1.0.0",
15602
15602
  debug: "^4.3.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.737",
4
+ "version": "0.0.739",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "@tscircuit/props": "0.0.335",
44
44
  "@tscircuit/schematic-autolayout": "^0.0.6",
45
45
  "@tscircuit/schematic-match-adapt": "^0.0.16",
46
- "@tscircuit/schematic-trace-solver": "^0.0.37",
46
+ "@tscircuit/schematic-trace-solver": "^0.0.38",
47
47
  "@tscircuit/simple-3d-svg": "^0.0.41",
48
48
  "@types/bun": "^1.2.16",
49
49
  "@types/debug": "^4.1.12",
@@ -54,11 +54,11 @@
54
54
  "bun-match-svg": "0.0.12",
55
55
  "calculate-elbow": "^0.0.12",
56
56
  "chokidar-cli": "^3.0.0",
57
- "circuit-json": "^0.0.260",
57
+ "circuit-json": "^0.0.261",
58
58
  "circuit-json-to-bpc": "^0.0.13",
59
59
  "circuit-json-to-connectivity-map": "^0.0.22",
60
60
  "circuit-json-to-simple-3d": "^0.0.8",
61
- "circuit-to-svg": "^0.0.196",
61
+ "circuit-to-svg": "^0.0.197",
62
62
  "concurrently": "^9.1.2",
63
63
  "connectivity-map": "^1.0.0",
64
64
  "debug": "^4.3.6",