@tscircuit/core 0.0.1312 → 0.0.1313

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9767,8 +9767,12 @@ var Port = class extends PrimitiveComponent2 {
9767
9767
  label: "obstacle"
9768
9768
  });
9769
9769
  }
9770
+ const isExplicitCustomSymbolPort = schX !== void 0 && schY !== void 0 && !!this._getSymbolAncestor();
9770
9771
  if (!localPortInfo?.side) {
9771
9772
  this.facingDirection = getRelativeDirection(containerCenter, portCenter);
9773
+ if (isExplicitCustomSymbolPort && props.direction) {
9774
+ this.facingDirection = props.direction;
9775
+ }
9772
9776
  } else {
9773
9777
  this.facingDirection = {
9774
9778
  left: "left",
@@ -23486,7 +23490,7 @@ import { identity as identity5 } from "transformation-matrix";
23486
23490
  var package_default = {
23487
23491
  name: "@tscircuit/core",
23488
23492
  type: "module",
23489
- version: "0.0.1311",
23493
+ version: "0.0.1312",
23490
23494
  types: "dist/index.d.ts",
23491
23495
  main: "dist/index.js",
23492
23496
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1312",
4
+ "version": "0.0.1313",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",