@tscircuit/core 0.0.598 → 0.0.599
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3101,8 +3101,8 @@ var Port = class extends PrimitiveComponent2 {
|
|
|
3101
3101
|
const { _parsedProps: props } = this;
|
|
3102
3102
|
return Array.from(
|
|
3103
3103
|
/* @__PURE__ */ new Set([
|
|
3104
|
-
...props.aliases ?? [],
|
|
3105
3104
|
...props.name ? [props.name] : [],
|
|
3105
|
+
...props.aliases ?? [],
|
|
3106
3106
|
...typeof props.pinNumber === "number" ? [`pin${props.pinNumber}`, props.pinNumber.toString()] : [],
|
|
3107
3107
|
...this.externallyAddedAliases ?? []
|
|
3108
3108
|
])
|
|
@@ -3245,7 +3245,7 @@ var Port = class extends PrimitiveComponent2 {
|
|
|
3245
3245
|
if (showPinAliases && labelHints.length > 0) {
|
|
3246
3246
|
bestDisplayPinLabel = labelHints.join("/");
|
|
3247
3247
|
} else if (labelHints.length > 0) {
|
|
3248
|
-
bestDisplayPinLabel = labelHints[
|
|
3248
|
+
bestDisplayPinLabel = labelHints[0];
|
|
3249
3249
|
}
|
|
3250
3250
|
const schematic_port = db.schematic_port.insert({
|
|
3251
3251
|
schematic_component_id: this.parent?.schematic_component_id,
|
|
@@ -11264,7 +11264,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11264
11264
|
var package_default = {
|
|
11265
11265
|
name: "@tscircuit/core",
|
|
11266
11266
|
type: "module",
|
|
11267
|
-
version: "0.0.
|
|
11267
|
+
version: "0.0.598",
|
|
11268
11268
|
types: "dist/index.d.ts",
|
|
11269
11269
|
main: "dist/index.js",
|
|
11270
11270
|
module: "dist/index.js",
|