@tscircuit/core 0.0.615 → 0.0.617
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 +18 -11
- package/package.json +2 -4
package/dist/index.js
CHANGED
|
@@ -8408,14 +8408,13 @@ var Group_doInitialPcbLayoutPack = (group) => {
|
|
|
8408
8408
|
};
|
|
8409
8409
|
|
|
8410
8410
|
// lib/components/primitive-components/Group/Group_doInitialPcbLayoutFlex.ts
|
|
8411
|
-
import "@tscircuit/circuit-json-flex";
|
|
8412
8411
|
import {
|
|
8413
8412
|
getCircuitJsonTree,
|
|
8414
8413
|
repositionPcbComponentTo,
|
|
8415
|
-
repositionPcbGroupTo
|
|
8414
|
+
repositionPcbGroupTo,
|
|
8415
|
+
getMinimumFlexContainer
|
|
8416
8416
|
} from "@tscircuit/circuit-json-util";
|
|
8417
8417
|
import { RootFlexBox } from "@tscircuit/miniflex";
|
|
8418
|
-
import { getMinimumFlexContainer } from "@tscircuit/circuit-json-flex";
|
|
8419
8418
|
import { length as length4 } from "circuit-json";
|
|
8420
8419
|
var getSizeOfTreeNodeChild = (db, child) => {
|
|
8421
8420
|
const { sourceComponent, sourceGroup } = child;
|
|
@@ -10835,16 +10834,26 @@ var PinHeader = class extends NormalComponent {
|
|
|
10835
10834
|
const holeDiameter = this._parsedProps.holeDiameter;
|
|
10836
10835
|
const platedDiameter = this._parsedProps.platedDiameter;
|
|
10837
10836
|
const pitch = this._parsedProps.pitch;
|
|
10837
|
+
const showSilkscreenPinLabels = this._parsedProps.showSilkscreenPinLabels;
|
|
10838
10838
|
if (pinCount > 0) {
|
|
10839
|
+
let footprintString;
|
|
10839
10840
|
if (pitch) {
|
|
10840
10841
|
if (!holeDiameter && !platedDiameter) {
|
|
10841
|
-
|
|
10842
|
+
footprintString = `pinrow${pinCount}_p${pitch}`;
|
|
10843
|
+
} else {
|
|
10844
|
+
footprintString = `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10845
|
+
}
|
|
10846
|
+
} else {
|
|
10847
|
+
if (!holeDiameter && !platedDiameter) {
|
|
10848
|
+
footprintString = `pinrow${pinCount}`;
|
|
10849
|
+
} else {
|
|
10850
|
+
return null;
|
|
10842
10851
|
}
|
|
10843
|
-
return `pinrow${pinCount}_p${pitch}_id${holeDiameter}_od${platedDiameter}`;
|
|
10844
10852
|
}
|
|
10845
|
-
if (
|
|
10846
|
-
|
|
10853
|
+
if (showSilkscreenPinLabels !== true) {
|
|
10854
|
+
footprintString += "_nopinlabels";
|
|
10847
10855
|
}
|
|
10856
|
+
return footprintString;
|
|
10848
10857
|
}
|
|
10849
10858
|
return null;
|
|
10850
10859
|
}
|
|
@@ -11736,7 +11745,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11736
11745
|
var package_default = {
|
|
11737
11746
|
name: "@tscircuit/core",
|
|
11738
11747
|
type: "module",
|
|
11739
|
-
version: "0.0.
|
|
11748
|
+
version: "0.0.616",
|
|
11740
11749
|
types: "dist/index.d.ts",
|
|
11741
11750
|
main: "dist/index.js",
|
|
11742
11751
|
module: "dist/index.js",
|
|
@@ -11761,7 +11770,7 @@ var package_default = {
|
|
|
11761
11770
|
"@biomejs/biome": "^1.8.3",
|
|
11762
11771
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
11763
11772
|
"@tscircuit/checks": "^0.0.64",
|
|
11764
|
-
"@tscircuit/circuit-json-util": "^0.0.
|
|
11773
|
+
"@tscircuit/circuit-json-util": "^0.0.64",
|
|
11765
11774
|
"@tscircuit/footprinter": "^0.0.208",
|
|
11766
11775
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
11767
11776
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
@@ -11798,7 +11807,6 @@ var package_default = {
|
|
|
11798
11807
|
"react-dom": "^19.1.0",
|
|
11799
11808
|
"schematic-symbols": "^0.0.180",
|
|
11800
11809
|
"ts-expect": "^1.3.0",
|
|
11801
|
-
"@tscircuit/circuit-json-flex": "^0.0.3",
|
|
11802
11810
|
tsup: "^8.2.4"
|
|
11803
11811
|
},
|
|
11804
11812
|
peerDependencies: {
|
|
@@ -11811,7 +11819,6 @@ var package_default = {
|
|
|
11811
11819
|
"@tscircuit/props": "*",
|
|
11812
11820
|
"@tscircuit/schematic-autolayout": "*",
|
|
11813
11821
|
"@tscircuit/schematic-match-adapt": "*",
|
|
11814
|
-
"@tscircuit/circuit-json-flex": "*",
|
|
11815
11822
|
"@tscircuit/schematic-corpus": "*",
|
|
11816
11823
|
"circuit-json-to-bpc": "*",
|
|
11817
11824
|
"bpc-graph": "*",
|
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.617",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@biomejs/biome": "^1.8.3",
|
|
27
27
|
"@tscircuit/capacity-autorouter": "^0.0.100",
|
|
28
28
|
"@tscircuit/checks": "^0.0.64",
|
|
29
|
-
"@tscircuit/circuit-json-util": "^0.0.
|
|
29
|
+
"@tscircuit/circuit-json-util": "^0.0.64",
|
|
30
30
|
"@tscircuit/footprinter": "^0.0.208",
|
|
31
31
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"react-dom": "^19.1.0",
|
|
64
64
|
"schematic-symbols": "^0.0.180",
|
|
65
65
|
"ts-expect": "^1.3.0",
|
|
66
|
-
"@tscircuit/circuit-json-flex": "^0.0.3",
|
|
67
66
|
"tsup": "^8.2.4"
|
|
68
67
|
},
|
|
69
68
|
"peerDependencies": {
|
|
@@ -76,7 +75,6 @@
|
|
|
76
75
|
"@tscircuit/props": "*",
|
|
77
76
|
"@tscircuit/schematic-autolayout": "*",
|
|
78
77
|
"@tscircuit/schematic-match-adapt": "*",
|
|
79
|
-
"@tscircuit/circuit-json-flex": "*",
|
|
80
78
|
"@tscircuit/schematic-corpus": "*",
|
|
81
79
|
"circuit-json-to-bpc": "*",
|
|
82
80
|
"bpc-graph": "*",
|