@tscircuit/core 0.0.1930 → 0.0.1932

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 +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -63317,7 +63317,7 @@ function Group_getRoutingPhasePlans(group) {
63317
63317
  var package_default = {
63318
63318
  name: "@tscircuit/core",
63319
63319
  type: "module",
63320
- version: "0.0.1929",
63320
+ version: "0.0.1931",
63321
63321
  types: "dist/index.d.ts",
63322
63322
  main: "dist/index.js",
63323
63323
  module: "dist/index.js",
@@ -63353,7 +63353,7 @@ var package_default = {
63353
63353
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
63354
63354
  "@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
63355
63355
  "@tscircuit/capacity-autorouter": "^0.0.900",
63356
- "@tscircuit/checks": "^0.0.198",
63356
+ "@tscircuit/checks": "^0.0.199",
63357
63357
  "@tscircuit/circuit-json-util": "^0.0.114",
63358
63358
  "@tscircuit/common": "^0.0.20",
63359
63359
  "@tscircuit/copper-pour-solver": "^0.0.54",
@@ -64861,7 +64861,7 @@ var Group5 = class extends NormalComponent3 {
64861
64861
  x: centerX,
64862
64862
  y: centerY
64863
64863
  };
64864
- const shouldUsePcbContentCenter = this.isSubcircuit || pcbContentBounds !== void 0;
64864
+ const shouldUsePcbContentCenter = this.isSubcircuit || this.isRoutingDirective || pcbContentBounds !== void 0;
64865
64865
  let center = hasExplicitPositioning ? shouldUsePcbContentCenter ? {
64866
64866
  x: props.width === void 0 ? centerX : existingCenter.x,
64867
64867
  y: props.height === void 0 ? centerY : existingCenter.y
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1930",
4
+ "version": "0.0.1932",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
38
38
  "@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
39
39
  "@tscircuit/capacity-autorouter": "^0.0.900",
40
- "@tscircuit/checks": "^0.0.198",
40
+ "@tscircuit/checks": "^0.0.199",
41
41
  "@tscircuit/circuit-json-util": "^0.0.114",
42
42
  "@tscircuit/common": "^0.0.20",
43
43
  "@tscircuit/copper-pour-solver": "^0.0.54",