@tscircuit/core 0.0.1644 → 0.0.1646
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.
- package/dist/index.js +4 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -31461,7 +31461,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
31461
31461
|
var package_default = {
|
|
31462
31462
|
name: "@tscircuit/core",
|
|
31463
31463
|
type: "module",
|
|
31464
|
-
version: "0.0.
|
|
31464
|
+
version: "0.0.1645",
|
|
31465
31465
|
types: "dist/index.d.ts",
|
|
31466
31466
|
main: "dist/index.js",
|
|
31467
31467
|
module: "dist/index.js",
|
|
@@ -31499,7 +31499,7 @@ var package_default = {
|
|
|
31499
31499
|
"@tscircuit/checks": "0.0.152",
|
|
31500
31500
|
"@tscircuit/circuit-json-util": "^0.0.106",
|
|
31501
31501
|
"@tscircuit/common": "^0.0.20",
|
|
31502
|
-
"@tscircuit/copper-pour-solver": "0.0.
|
|
31502
|
+
"@tscircuit/copper-pour-solver": "0.0.44",
|
|
31503
31503
|
"@tscircuit/create-fdm-enclosure": "0.0.3",
|
|
31504
31504
|
"@tscircuit/fanout-solver": "0.0.16",
|
|
31505
31505
|
"@tscircuit/footprinter": "^0.0.409",
|
|
@@ -32842,7 +32842,8 @@ var Group5 = class extends NormalComponent3 {
|
|
|
32842
32842
|
x: centerX,
|
|
32843
32843
|
y: centerY
|
|
32844
32844
|
};
|
|
32845
|
-
|
|
32845
|
+
const shouldUsePcbContentCenter = this.isSubcircuit || pcbContentBounds !== void 0;
|
|
32846
|
+
let center = hasExplicitPositioning ? shouldUsePcbContentCenter ? {
|
|
32846
32847
|
x: props.width === void 0 ? centerX : existingCenter.x,
|
|
32847
32848
|
y: props.height === void 0 ? centerY : existingCenter.y
|
|
32848
32849
|
} : existingCenter : { x: centerX, y: centerY };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1646",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@tscircuit/checks": "0.0.152",
|
|
40
40
|
"@tscircuit/circuit-json-util": "^0.0.106",
|
|
41
41
|
"@tscircuit/common": "^0.0.20",
|
|
42
|
-
"@tscircuit/copper-pour-solver": "0.0.
|
|
42
|
+
"@tscircuit/copper-pour-solver": "0.0.44",
|
|
43
43
|
"@tscircuit/create-fdm-enclosure": "0.0.3",
|
|
44
44
|
"@tscircuit/fanout-solver": "0.0.16",
|
|
45
45
|
"@tscircuit/footprinter": "^0.0.409",
|