@tscircuit/core 0.0.602 → 0.0.604
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 +10 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9055,8 +9055,14 @@ var Board = class extends Group {
|
|
|
9055
9055
|
let minY = Infinity;
|
|
9056
9056
|
let maxX = -Infinity;
|
|
9057
9057
|
let maxY = -Infinity;
|
|
9058
|
-
const
|
|
9059
|
-
const
|
|
9058
|
+
const descendantIds = getDescendantSubcircuitIds(db, this.subcircuit_id);
|
|
9059
|
+
const allowedSubcircuitIds = /* @__PURE__ */ new Set([this.subcircuit_id, ...descendantIds]);
|
|
9060
|
+
const allPcbComponents = db.pcb_component.list().filter(
|
|
9061
|
+
(c) => c.subcircuit_id && allowedSubcircuitIds.has(c.subcircuit_id)
|
|
9062
|
+
);
|
|
9063
|
+
const allPcbGroups = db.pcb_group.list().filter(
|
|
9064
|
+
(g) => g.subcircuit_id && allowedSubcircuitIds.has(g.subcircuit_id)
|
|
9065
|
+
);
|
|
9060
9066
|
let hasComponents = false;
|
|
9061
9067
|
const updateBounds = (center2, width, height) => {
|
|
9062
9068
|
if (width === 0 || height === 0) return;
|
|
@@ -11337,7 +11343,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11337
11343
|
var package_default = {
|
|
11338
11344
|
name: "@tscircuit/core",
|
|
11339
11345
|
type: "module",
|
|
11340
|
-
version: "0.0.
|
|
11346
|
+
version: "0.0.603",
|
|
11341
11347
|
types: "dist/index.d.ts",
|
|
11342
11348
|
main: "dist/index.js",
|
|
11343
11349
|
module: "dist/index.js",
|
|
@@ -11363,7 +11369,7 @@ var package_default = {
|
|
|
11363
11369
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
11364
11370
|
"@tscircuit/checks": "^0.0.64",
|
|
11365
11371
|
"@tscircuit/circuit-json-util": "^0.0.61",
|
|
11366
|
-
"@tscircuit/footprinter": "^0.0.
|
|
11372
|
+
"@tscircuit/footprinter": "^0.0.208",
|
|
11367
11373
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
11368
11374
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
11369
11375
|
"@tscircuit/log-soup": "^1.0.2",
|
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.604",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
28
28
|
"@tscircuit/checks": "^0.0.64",
|
|
29
29
|
"@tscircuit/circuit-json-util": "^0.0.61",
|
|
30
|
-
"@tscircuit/footprinter": "^0.0.
|
|
30
|
+
"@tscircuit/footprinter": "^0.0.208",
|
|
31
31
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
33
33
|
"@tscircuit/log-soup": "^1.0.2",
|