@tscircuit/core 0.0.591 → 0.0.592
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 +9 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10337,11 +10337,16 @@ var PinHeader = class extends NormalComponent {
|
|
|
10337
10337
|
const holeDiameter = this._parsedProps.holeDiameter;
|
|
10338
10338
|
const platedDiameter = this._parsedProps.platedDiameter;
|
|
10339
10339
|
const pitch = this._parsedProps.pitch;
|
|
10340
|
-
if (pinCount > 0
|
|
10340
|
+
if (pinCount > 0) {
|
|
10341
|
+
if (pitch) {
|
|
10342
|
+
if (!holeDiameter && !platedDiameter) {
|
|
10343
|
+
return `pinrow${pinCount}_p${pitch}`;
|
|
10344
|
+
}
|
|
10345
|
+
return `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10346
|
+
}
|
|
10341
10347
|
if (!holeDiameter && !platedDiameter) {
|
|
10342
|
-
return `pinrow${pinCount}
|
|
10348
|
+
return `pinrow${pinCount}`;
|
|
10343
10349
|
}
|
|
10344
|
-
return `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10345
10350
|
}
|
|
10346
10351
|
return null;
|
|
10347
10352
|
}
|
|
@@ -11207,7 +11212,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11207
11212
|
var package_default = {
|
|
11208
11213
|
name: "@tscircuit/core",
|
|
11209
11214
|
type: "module",
|
|
11210
|
-
version: "0.0.
|
|
11215
|
+
version: "0.0.591",
|
|
11211
11216
|
types: "dist/index.d.ts",
|
|
11212
11217
|
main: "dist/index.js",
|
|
11213
11218
|
module: "dist/index.js",
|