@tscircuit/core 0.0.775 → 0.0.776

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 +9 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -12915,7 +12915,8 @@ import {
12915
12915
  checkPcbComponentsOutOfBoard,
12916
12916
  checkPcbTracesOutOfBoard,
12917
12917
  checkDifferentNetViaSpacing,
12918
- checkSameNetViaSpacing
12918
+ checkSameNetViaSpacing,
12919
+ checkPcbComponentOverlap
12919
12920
  } from "@tscircuit/checks";
12920
12921
  var getRoundedRectOutline = (width, height, radius) => {
12921
12922
  const r = Math.min(radius, width / 2, height / 2);
@@ -13201,6 +13202,10 @@ var Board = class extends Group6 {
13201
13202
  for (const error of sameNetViaErrors) {
13202
13203
  db.pcb_via_clearance_error.insert(error);
13203
13204
  }
13205
+ const pcbComponentOverlapErrors = checkPcbComponentOverlap(db.toArray());
13206
+ for (const error of pcbComponentOverlapErrors) {
13207
+ db.pcb_footprint_overlap_error.insert(error);
13208
+ }
13204
13209
  }
13205
13210
  _emitRenderLifecycleEvent(phase, startOrEnd) {
13206
13211
  super._emitRenderLifecycleEvent(phase, startOrEnd);
@@ -16190,7 +16195,7 @@ import { identity as identity6 } from "transformation-matrix";
16190
16195
  var package_default = {
16191
16196
  name: "@tscircuit/core",
16192
16197
  type: "module",
16193
- version: "0.0.774",
16198
+ version: "0.0.775",
16194
16199
  types: "dist/index.d.ts",
16195
16200
  main: "dist/index.js",
16196
16201
  module: "dist/index.js",
@@ -16220,7 +16225,7 @@ var package_default = {
16220
16225
  devDependencies: {
16221
16226
  "@biomejs/biome": "^1.8.3",
16222
16227
  "@tscircuit/capacity-autorouter": "^0.0.131",
16223
- "@tscircuit/checks": "^0.0.84",
16228
+ "@tscircuit/checks": "^0.0.85",
16224
16229
  "@tscircuit/circuit-json-util": "^0.0.67",
16225
16230
  "@tscircuit/common": "^0.0.9",
16226
16231
  "@tscircuit/footprinter": "^0.0.236",
@@ -16249,7 +16254,7 @@ var package_default = {
16249
16254
  "circuit-json-to-gltf": "^0.0.7",
16250
16255
  "circuit-json-to-simple-3d": "^0.0.9",
16251
16256
  "circuit-json-to-spice": "^0.0.13",
16252
- "circuit-to-svg": "^0.0.228",
16257
+ "circuit-to-svg": "^0.0.230",
16253
16258
  concurrently: "^9.1.2",
16254
16259
  "connectivity-map": "^1.0.0",
16255
16260
  debug: "^4.3.6",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.775",
4
+ "version": "0.0.776",
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.131",
34
- "@tscircuit/checks": "^0.0.84",
34
+ "@tscircuit/checks": "^0.0.85",
35
35
  "@tscircuit/circuit-json-util": "^0.0.67",
36
36
  "@tscircuit/common": "^0.0.9",
37
37
  "@tscircuit/footprinter": "^0.0.236",
@@ -60,7 +60,7 @@
60
60
  "circuit-json-to-gltf": "^0.0.7",
61
61
  "circuit-json-to-simple-3d": "^0.0.9",
62
62
  "circuit-json-to-spice": "^0.0.13",
63
- "circuit-to-svg": "^0.0.228",
63
+ "circuit-to-svg": "^0.0.230",
64
64
  "concurrently": "^9.1.2",
65
65
  "connectivity-map": "^1.0.0",
66
66
  "debug": "^4.3.6",