@tscircuit/core 0.0.704 → 0.0.706

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 (3) hide show
  1. package/dist/index.d.ts +16248 -8029
  2. package/dist/index.js +9 -2
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -7188,6 +7188,9 @@ var NormalComponent2 = class extends PrimitiveComponent2 {
7188
7188
  height: bounds.height
7189
7189
  });
7190
7190
  }
7191
+ updatePcbComponentSizeCalculation() {
7192
+ this.doInitialPcbComponentSizeCalculation();
7193
+ }
7191
7194
  _renderReactSubtree(element) {
7192
7195
  return {
7193
7196
  element,
@@ -11718,6 +11721,10 @@ var Board = class extends Group6 {
11718
11721
  center
11719
11722
  });
11720
11723
  }
11724
+ // Recompute autosize after child components update (e.g., async footprints)
11725
+ updatePcbBoardAutoSize() {
11726
+ this.doInitialPcbBoardAutoSize();
11727
+ }
11721
11728
  /**
11722
11729
  * Update the board information silkscreen text if platform config is set and
11723
11730
  * the project name, version, or url is set.
@@ -14365,7 +14372,7 @@ import { identity as identity6 } from "transformation-matrix";
14365
14372
  var package_default = {
14366
14373
  name: "@tscircuit/core",
14367
14374
  type: "module",
14368
- version: "0.0.703",
14375
+ version: "0.0.705",
14369
14376
  types: "dist/index.d.ts",
14370
14377
  main: "dist/index.js",
14371
14378
  module: "dist/index.js",
@@ -14404,7 +14411,7 @@ var package_default = {
14404
14411
  "@tscircuit/matchpack": "^0.0.16",
14405
14412
  "@tscircuit/math-utils": "^0.0.21",
14406
14413
  "@tscircuit/miniflex": "^0.0.4",
14407
- "@tscircuit/props": "0.0.298",
14414
+ "@tscircuit/props": "0.0.305",
14408
14415
  "@tscircuit/schematic-autolayout": "^0.0.6",
14409
14416
  "@tscircuit/schematic-match-adapt": "^0.0.16",
14410
14417
  "@tscircuit/schematic-trace-solver": "^0.0.35",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.704",
4
+ "version": "0.0.706",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "@tscircuit/matchpack": "^0.0.16",
41
41
  "@tscircuit/math-utils": "^0.0.21",
42
42
  "@tscircuit/miniflex": "^0.0.4",
43
- "@tscircuit/props": "0.0.298",
43
+ "@tscircuit/props": "0.0.305",
44
44
  "@tscircuit/schematic-autolayout": "^0.0.6",
45
45
  "@tscircuit/schematic-match-adapt": "^0.0.16",
46
46
  "@tscircuit/schematic-trace-solver": "^0.0.35",