@tscircuit/core 0.0.721 → 0.0.723
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 +9 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12128,7 +12128,8 @@ var Group6 = class extends NormalComponent2 {
|
|
|
12128
12128
|
// lib/components/normal-components/Board.ts
|
|
12129
12129
|
import {
|
|
12130
12130
|
checkEachPcbPortConnectedToPcbTraces,
|
|
12131
|
-
checkEachPcbTraceNonOverlapping
|
|
12131
|
+
checkEachPcbTraceNonOverlapping,
|
|
12132
|
+
checkPcbComponentsOutOfBoard
|
|
12132
12133
|
} from "@tscircuit/checks";
|
|
12133
12134
|
var getRoundedRectOutline = (width, height, radius) => {
|
|
12134
12135
|
const r = Math.min(radius, width / 2, height / 2);
|
|
@@ -12382,6 +12383,10 @@ var Board = class extends Group6 {
|
|
|
12382
12383
|
for (const error of pcbPortNotConnectedErrors) {
|
|
12383
12384
|
db.pcb_port_not_connected_error.insert(error);
|
|
12384
12385
|
}
|
|
12386
|
+
const pcbComponentOutsideErrors = checkPcbComponentsOutOfBoard(db.toArray());
|
|
12387
|
+
for (const error of pcbComponentOutsideErrors) {
|
|
12388
|
+
db.pcb_component_outside_board_error.insert(error);
|
|
12389
|
+
}
|
|
12385
12390
|
}
|
|
12386
12391
|
_emitRenderLifecycleEvent(phase, startOrEnd) {
|
|
12387
12392
|
super._emitRenderLifecycleEvent(phase, startOrEnd);
|
|
@@ -14932,7 +14937,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
14932
14937
|
var package_default = {
|
|
14933
14938
|
name: "@tscircuit/core",
|
|
14934
14939
|
type: "module",
|
|
14935
|
-
version: "0.0.
|
|
14940
|
+
version: "0.0.722",
|
|
14936
14941
|
types: "dist/index.d.ts",
|
|
14937
14942
|
main: "dist/index.js",
|
|
14938
14943
|
module: "dist/index.js",
|
|
@@ -14962,7 +14967,7 @@ var package_default = {
|
|
|
14962
14967
|
devDependencies: {
|
|
14963
14968
|
"@biomejs/biome": "^1.8.3",
|
|
14964
14969
|
"@tscircuit/capacity-autorouter": "^0.0.107",
|
|
14965
|
-
"@tscircuit/checks": "^0.0.
|
|
14970
|
+
"@tscircuit/checks": "^0.0.75",
|
|
14966
14971
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
14967
14972
|
"@tscircuit/footprinter": "^0.0.236",
|
|
14968
14973
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
@@ -14985,7 +14990,7 @@ var package_default = {
|
|
|
14985
14990
|
"bun-match-svg": "0.0.12",
|
|
14986
14991
|
"calculate-elbow": "^0.0.12",
|
|
14987
14992
|
"chokidar-cli": "^3.0.0",
|
|
14988
|
-
"circuit-json": "^0.0.
|
|
14993
|
+
"circuit-json": "^0.0.252",
|
|
14989
14994
|
"circuit-json-to-bpc": "^0.0.13",
|
|
14990
14995
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
14991
14996
|
"circuit-json-to-simple-3d": "^0.0.8",
|
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.723",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@biomejs/biome": "^1.8.3",
|
|
33
33
|
"@tscircuit/capacity-autorouter": "^0.0.107",
|
|
34
|
-
"@tscircuit/checks": "^0.0.
|
|
34
|
+
"@tscircuit/checks": "^0.0.75",
|
|
35
35
|
"@tscircuit/circuit-json-util": "^0.0.67",
|
|
36
36
|
"@tscircuit/footprinter": "^0.0.236",
|
|
37
37
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"bun-match-svg": "0.0.12",
|
|
55
55
|
"calculate-elbow": "^0.0.12",
|
|
56
56
|
"chokidar-cli": "^3.0.0",
|
|
57
|
-
"circuit-json": "^0.0.
|
|
57
|
+
"circuit-json": "^0.0.252",
|
|
58
58
|
"circuit-json-to-bpc": "^0.0.13",
|
|
59
59
|
"circuit-json-to-connectivity-map": "^0.0.22",
|
|
60
60
|
"circuit-json-to-simple-3d": "^0.0.8",
|