@tscircuit/core 0.0.2000 → 0.0.2002
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 +7 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16345,7 +16345,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
16345
16345
|
originalLayer: footprintChild._parsedProps.originalLayer
|
|
16346
16346
|
};
|
|
16347
16347
|
}
|
|
16348
|
-
const footprint = this.
|
|
16348
|
+
const footprint = this.resolveFootprint();
|
|
16349
16349
|
if (isValidElement(footprint)) {
|
|
16350
16350
|
const footprintProps2 = footprint.props;
|
|
16351
16351
|
return {
|
|
@@ -16361,6 +16361,10 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
16361
16361
|
originalLayer: footprint._parsedProps?.originalLayer ?? footprint.props?.originalLayer
|
|
16362
16362
|
};
|
|
16363
16363
|
}
|
|
16364
|
+
if (typeof footprint === "string" && /^(pinrow|headermodule|smdpinheader)(?=\d|_|$)/.test(footprint)) {
|
|
16365
|
+
const params = fp.string(footprint).params();
|
|
16366
|
+
if (!params.rightangle) return { insertionDirection: "from_above" };
|
|
16367
|
+
}
|
|
16364
16368
|
return void 0;
|
|
16365
16369
|
}
|
|
16366
16370
|
_getPcbComponentLayer() {
|
|
@@ -64158,7 +64162,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
64158
64162
|
var package_default = {
|
|
64159
64163
|
name: "@tscircuit/core",
|
|
64160
64164
|
type: "module",
|
|
64161
|
-
version: "0.0.
|
|
64165
|
+
version: "0.0.2001",
|
|
64162
64166
|
types: "dist/index.d.ts",
|
|
64163
64167
|
main: "dist/index.js",
|
|
64164
64168
|
module: "dist/index.js",
|
|
@@ -64194,7 +64198,7 @@ var package_default = {
|
|
|
64194
64198
|
"@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
|
|
64195
64199
|
"@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
|
|
64196
64200
|
"@tscircuit/capacity-autorouter": "^0.0.919",
|
|
64197
|
-
"@tscircuit/checks": "^0.0.
|
|
64201
|
+
"@tscircuit/checks": "^0.0.223",
|
|
64198
64202
|
"@tscircuit/circuit-json-util": "^0.0.116",
|
|
64199
64203
|
"@tscircuit/common": "^0.0.20",
|
|
64200
64204
|
"@tscircuit/copper-pour-solver": "^0.0.57",
|
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.2002",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
|
|
38
38
|
"@tscircuit/bus-lanes-solver": "github:tscircuit/bus-lanes-solver#0bc8d071241b18a3e7465a878881abe4998f6384",
|
|
39
39
|
"@tscircuit/capacity-autorouter": "^0.0.919",
|
|
40
|
-
"@tscircuit/checks": "^0.0.
|
|
40
|
+
"@tscircuit/checks": "^0.0.223",
|
|
41
41
|
"@tscircuit/circuit-json-util": "^0.0.116",
|
|
42
42
|
"@tscircuit/common": "^0.0.20",
|
|
43
43
|
"@tscircuit/copper-pour-solver": "^0.0.57",
|