@tscircuit/core 0.0.2123 → 0.0.2124
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 +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18839,9 +18839,15 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
18839
18839
|
const pinCount = this._getPrimaryPinCount();
|
|
18840
18840
|
const pinSpacing = 0.2;
|
|
18841
18841
|
const pinLabelsFromPorts = this._getPinLabelsFromPorts();
|
|
18842
|
+
const pinLabelsFromProps = Array.isArray(props.pinLabels) ? Object.fromEntries(
|
|
18843
|
+
props.pinLabels.map((label, pinIndex) => [
|
|
18844
|
+
`pin${pinIndex + 1}`,
|
|
18845
|
+
label
|
|
18846
|
+
])
|
|
18847
|
+
) : props.pinLabels;
|
|
18842
18848
|
const allPinLabels = {
|
|
18843
18849
|
...pinLabelsFromPorts,
|
|
18844
|
-
...
|
|
18850
|
+
...pinLabelsFromProps
|
|
18845
18851
|
};
|
|
18846
18852
|
const schPortArrangement = this._getSchematicPortArrangement() ?? this._getImplicitSparseSchematicPortArrangement(pinCount);
|
|
18847
18853
|
return getAllDimensionsForSchematicBox({
|
|
@@ -118353,7 +118359,7 @@ function Group_getRoutingPhasePlans(group) {
|
|
|
118353
118359
|
var package_default = {
|
|
118354
118360
|
name: "@tscircuit/core",
|
|
118355
118361
|
type: "module",
|
|
118356
|
-
version: "0.0.
|
|
118362
|
+
version: "0.0.2123",
|
|
118357
118363
|
types: "dist/index.d.ts",
|
|
118358
118364
|
main: "dist/index.js",
|
|
118359
118365
|
module: "dist/index.js",
|