@tscircuit/core 0.0.615 → 0.0.616
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 +15 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10835,16 +10835,26 @@ var PinHeader = class extends NormalComponent {
|
|
|
10835
10835
|
const holeDiameter = this._parsedProps.holeDiameter;
|
|
10836
10836
|
const platedDiameter = this._parsedProps.platedDiameter;
|
|
10837
10837
|
const pitch = this._parsedProps.pitch;
|
|
10838
|
+
const showSilkscreenPinLabels = this._parsedProps.showSilkscreenPinLabels;
|
|
10838
10839
|
if (pinCount > 0) {
|
|
10840
|
+
let footprintString;
|
|
10839
10841
|
if (pitch) {
|
|
10840
10842
|
if (!holeDiameter && !platedDiameter) {
|
|
10841
|
-
|
|
10843
|
+
footprintString = `pinrow${pinCount}_p${pitch}`;
|
|
10844
|
+
} else {
|
|
10845
|
+
footprintString = `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10846
|
+
}
|
|
10847
|
+
} else {
|
|
10848
|
+
if (!holeDiameter && !platedDiameter) {
|
|
10849
|
+
footprintString = `pinrow${pinCount}`;
|
|
10850
|
+
} else {
|
|
10851
|
+
return null;
|
|
10842
10852
|
}
|
|
10843
|
-
return `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10844
10853
|
}
|
|
10845
|
-
if (
|
|
10846
|
-
|
|
10854
|
+
if (showSilkscreenPinLabels !== true) {
|
|
10855
|
+
footprintString += "_nopinlabels";
|
|
10847
10856
|
}
|
|
10857
|
+
return footprintString;
|
|
10848
10858
|
}
|
|
10849
10859
|
return null;
|
|
10850
10860
|
}
|
|
@@ -11736,7 +11746,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11736
11746
|
var package_default = {
|
|
11737
11747
|
name: "@tscircuit/core",
|
|
11738
11748
|
type: "module",
|
|
11739
|
-
version: "0.0.
|
|
11749
|
+
version: "0.0.615",
|
|
11740
11750
|
types: "dist/index.d.ts",
|
|
11741
11751
|
main: "dist/index.js",
|
|
11742
11752
|
module: "dist/index.js",
|