@tscircuit/core 0.0.820 → 0.0.821

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10135,7 +10135,7 @@ function Group_doInitialSchematicLayoutMatchPack(group) {
10135
10135
  originalDirection,
10136
10136
  placement.ccwRotationDegrees
10137
10137
  );
10138
- port.side_of_component = port.facing_direction || port.side_of_component;
10138
+ port.side_of_component = (port.facing_direction === "up" ? "top" : port.facing_direction === "down" ? "bottom" : port.facing_direction) || port.side_of_component;
10139
10139
  }
10140
10140
  for (const text of texts) {
10141
10141
  const dx = text.position.x - newCenter.x;
@@ -17280,7 +17280,7 @@ import { identity as identity6 } from "transformation-matrix";
17280
17280
  var package_default = {
17281
17281
  name: "@tscircuit/core",
17282
17282
  type: "module",
17283
- version: "0.0.819",
17283
+ version: "0.0.820",
17284
17284
  types: "dist/index.d.ts",
17285
17285
  main: "dist/index.js",
17286
17286
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.820",
4
+ "version": "0.0.821",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",