@tscircuit/core 0.0.555 → 0.0.556

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 CHANGED
@@ -811,13 +811,12 @@ var PrimitiveComponent2 = class extends Renderable {
811
811
  */
812
812
  _getPcbManualPlacementForComponent(component) {
813
813
  if (!this.isSubcircuit) return null;
814
- const layout = this.props.layout;
815
814
  const manualEdits = this.props.manualEdits;
816
- if (!layout && !manualEdits) return null;
817
- const placementConfigPositions = layout?.manual_pcb_placement_config?.positions || manualEdits?.pcb_placements;
815
+ if (!manualEdits) return null;
816
+ const placementConfigPositions = manualEdits?.pcb_placements;
818
817
  if (!placementConfigPositions) return null;
819
818
  for (const position of placementConfigPositions) {
820
- if (layout && isMatchingSelector(component, position.selector) || component.props.name === position.selector) {
819
+ if (isMatchingSelector(component, position.selector) || component.props.name === position.selector) {
821
820
  const center = applyToPoint(
822
821
  this._computePcbGlobalTransformBeforeLayout(),
823
822
  position.center
@@ -7954,7 +7953,7 @@ var Group = class extends NormalComponent {
7954
7953
  const { db } = this.root;
7955
7954
  const groupProps2 = props;
7956
7955
  if (!this.isSubcircuit) return;
7957
- const manualTraceHints = groupProps2.layout?.manual_trace_hints;
7956
+ const manualTraceHints = groupProps2.manualEdits?.manual_trace_hints;
7958
7957
  if (!manualTraceHints) return;
7959
7958
  for (const manualTraceHint of manualTraceHints) {
7960
7959
  this.add(
@@ -10788,7 +10787,7 @@ import { identity as identity5 } from "transformation-matrix";
10788
10787
  var package_default = {
10789
10788
  name: "@tscircuit/core",
10790
10789
  type: "module",
10791
- version: "0.0.554",
10790
+ version: "0.0.555",
10792
10791
  types: "dist/index.d.ts",
10793
10792
  main: "dist/index.js",
10794
10793
  module: "dist/index.js",
@@ -10812,15 +10811,14 @@ var package_default = {
10812
10811
  devDependencies: {
10813
10812
  "@biomejs/biome": "^1.8.3",
10814
10813
  "@tscircuit/capacity-autorouter": "^0.0.93",
10815
- "@tscircuit/checks": "^0.0.52",
10814
+ "@tscircuit/checks": "^0.0.56",
10816
10815
  "@tscircuit/circuit-json-util": "^0.0.51",
10817
10816
  "@tscircuit/footprinter": "^0.0.189",
10818
10817
  "@tscircuit/import-snippet": "^0.0.4",
10819
10818
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
10820
- "@tscircuit/layout": "^0.0.28",
10821
10819
  "@tscircuit/log-soup": "^1.0.2",
10822
10820
  "@tscircuit/math-utils": "^0.0.18",
10823
- "@tscircuit/props": "^0.0.251",
10821
+ "@tscircuit/props": "^0.0.255",
10824
10822
  "@tscircuit/schematic-autolayout": "^0.0.6",
10825
10823
  "@tscircuit/schematic-corpus": "^0.0.52",
10826
10824
  "@tscircuit/schematic-match-adapt": "^0.0.16",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.555",
4
+ "version": "0.0.556",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -25,15 +25,14 @@
25
25
  "devDependencies": {
26
26
  "@biomejs/biome": "^1.8.3",
27
27
  "@tscircuit/capacity-autorouter": "^0.0.93",
28
- "@tscircuit/checks": "^0.0.52",
28
+ "@tscircuit/checks": "^0.0.56",
29
29
  "@tscircuit/circuit-json-util": "^0.0.51",
30
30
  "@tscircuit/footprinter": "^0.0.189",
31
31
  "@tscircuit/import-snippet": "^0.0.4",
32
32
  "@tscircuit/infgrid-ijump-astar": "^0.0.33",
33
- "@tscircuit/layout": "^0.0.28",
34
33
  "@tscircuit/log-soup": "^1.0.2",
35
34
  "@tscircuit/math-utils": "^0.0.18",
36
- "@tscircuit/props": "^0.0.251",
35
+ "@tscircuit/props": "^0.0.255",
37
36
  "@tscircuit/schematic-autolayout": "^0.0.6",
38
37
  "@tscircuit/schematic-corpus": "^0.0.52",
39
38
  "@tscircuit/schematic-match-adapt": "^0.0.16",