@tscircuit/core 0.0.559 → 0.0.560
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 +10 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2470,7 +2470,8 @@ var createComponentsFromCircuitJson = ({
|
|
|
2470
2470
|
componentName,
|
|
2471
2471
|
componentRotation,
|
|
2472
2472
|
footprint,
|
|
2473
|
-
pinLabels
|
|
2473
|
+
pinLabels,
|
|
2474
|
+
pcbPinLabels
|
|
2474
2475
|
}, soup) => {
|
|
2475
2476
|
const components = [];
|
|
2476
2477
|
for (const elm of soup) {
|
|
@@ -2566,7 +2567,7 @@ var createComponentsFromCircuitJson = ({
|
|
|
2566
2567
|
components.push(
|
|
2567
2568
|
createPinrowSilkscreenText({
|
|
2568
2569
|
elm,
|
|
2569
|
-
pinLabels,
|
|
2570
|
+
pinLabels: pcbPinLabels ?? pinLabels,
|
|
2570
2571
|
layer: elm.layer,
|
|
2571
2572
|
readableRotation: ccwRotation,
|
|
2572
2573
|
anchorAlignment: elm.anchor_alignment
|
|
@@ -5916,7 +5917,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
5916
5917
|
return s.startsWith("http://") || s.startsWith("https://");
|
|
5917
5918
|
}
|
|
5918
5919
|
_addChildrenFromStringFootprint() {
|
|
5919
|
-
const { pcbRotation, pinLabels } = this.props;
|
|
5920
|
+
const { pcbRotation, pinLabels, pcbPinLabels } = this.props;
|
|
5920
5921
|
let { footprint } = this.props;
|
|
5921
5922
|
footprint ??= this._getImpliedFootprintString?.();
|
|
5922
5923
|
if (!footprint) return;
|
|
@@ -5928,7 +5929,8 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
5928
5929
|
componentName: this.name ?? this.componentName,
|
|
5929
5930
|
componentRotation: pcbRotation,
|
|
5930
5931
|
footprint,
|
|
5931
|
-
pinLabels
|
|
5932
|
+
pinLabels,
|
|
5933
|
+
pcbPinLabels
|
|
5932
5934
|
},
|
|
5933
5935
|
fpSoup
|
|
5934
5936
|
);
|
|
@@ -6175,7 +6177,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
6175
6177
|
let { footprint } = this.props;
|
|
6176
6178
|
footprint ??= this._getImpliedFootprintString?.();
|
|
6177
6179
|
if (!footprint) return;
|
|
6178
|
-
const { pcbRotation, pinLabels } = this.props;
|
|
6180
|
+
const { pcbRotation, pinLabels, pcbPinLabels } = this.props;
|
|
6179
6181
|
if (typeof footprint === "string" && this._isFootprintUrl(footprint)) {
|
|
6180
6182
|
if (this._hasStartedFootprintUrlLoad) return;
|
|
6181
6183
|
this._hasStartedFootprintUrlLoad = true;
|
|
@@ -6188,7 +6190,8 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
6188
6190
|
componentName: this.name,
|
|
6189
6191
|
componentRotation: pcbRotation,
|
|
6190
6192
|
footprint: url,
|
|
6191
|
-
pinLabels
|
|
6193
|
+
pinLabels,
|
|
6194
|
+
pcbPinLabels
|
|
6192
6195
|
},
|
|
6193
6196
|
soup
|
|
6194
6197
|
);
|
|
@@ -10787,7 +10790,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
10787
10790
|
var package_default = {
|
|
10788
10791
|
name: "@tscircuit/core",
|
|
10789
10792
|
type: "module",
|
|
10790
|
-
version: "0.0.
|
|
10793
|
+
version: "0.0.559",
|
|
10791
10794
|
types: "dist/index.d.ts",
|
|
10792
10795
|
main: "dist/index.js",
|
|
10793
10796
|
module: "dist/index.js",
|