@tscircuit/core 0.0.1303 → 0.0.1305
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 +5 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9919,9 +9919,10 @@ var createComponentsFromCircuitJson = ({
|
|
|
9919
9919
|
);
|
|
9920
9920
|
if (!facingDirection) continue;
|
|
9921
9921
|
const directionVector = getUnitVectorFromDirection2(facingDirection);
|
|
9922
|
+
const stemDirection = elm.facing_direction === facingDirection ? 1 : -1;
|
|
9922
9923
|
const portCenter = {
|
|
9923
|
-
x: elm.center.x + directionVector.x * distance19,
|
|
9924
|
-
y: elm.center.y + directionVector.y * distance19
|
|
9924
|
+
x: elm.center.x + directionVector.x * distance19 * stemDirection,
|
|
9925
|
+
y: elm.center.y + directionVector.y * distance19 * stemDirection
|
|
9925
9926
|
};
|
|
9926
9927
|
parentSymbol.add(
|
|
9927
9928
|
new SchematicLine({
|
|
@@ -23428,7 +23429,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
23428
23429
|
var package_default = {
|
|
23429
23430
|
name: "@tscircuit/core",
|
|
23430
23431
|
type: "module",
|
|
23431
|
-
version: "0.0.
|
|
23432
|
+
version: "0.0.1304",
|
|
23432
23433
|
types: "dist/index.d.ts",
|
|
23433
23434
|
main: "dist/index.js",
|
|
23434
23435
|
module: "dist/index.js",
|
|
@@ -23478,7 +23479,7 @@ var package_default = {
|
|
|
23478
23479
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
23479
23480
|
"@tscircuit/props": "^0.0.545",
|
|
23480
23481
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
23481
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
23482
|
+
"@tscircuit/schematic-trace-solver": "^0.0.63",
|
|
23482
23483
|
"@tscircuit/solver-utils": "^0.0.3",
|
|
23483
23484
|
"@tscircuit/soup-util": "^0.0.41",
|
|
23484
23485
|
"@types/bun": "^1.2.16",
|
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.1305",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@tscircuit/ngspice-spice-engine": "^0.0.8",
|
|
52
52
|
"@tscircuit/props": "^0.0.545",
|
|
53
53
|
"@tscircuit/schematic-match-adapt": "^0.0.18",
|
|
54
|
-
"@tscircuit/schematic-trace-solver": "^0.0.
|
|
54
|
+
"@tscircuit/schematic-trace-solver": "^0.0.63",
|
|
55
55
|
"@tscircuit/solver-utils": "^0.0.3",
|
|
56
56
|
"@tscircuit/soup-util": "^0.0.41",
|
|
57
57
|
"@types/bun": "^1.2.16",
|