@tscircuit/core 0.0.193 → 0.0.194

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 +10 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4432,6 +4432,16 @@ searched component ${targetComponent.getString()}, which has ports: ${targetComp
4432
4432
  connectedTo: []
4433
4433
  });
4434
4434
  }
4435
+ if (elm.type === "schematic_box") {
4436
+ obstacles.push({
4437
+ type: "rect",
4438
+ layers: ["top"],
4439
+ center: { x: elm.x, y: elm.y },
4440
+ width: elm.width,
4441
+ height: elm.width,
4442
+ connectedTo: []
4443
+ });
4444
+ }
4435
4445
  }
4436
4446
  const portsWithPosition = connectedPorts.map(({ port }) => ({
4437
4447
  port,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.193",
4
+ "version": "0.0.194",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",