@tscircuit/core 0.0.527 → 0.0.528
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -560,7 +560,7 @@ var PrimitiveComponent2 = class extends Renderable {
|
|
|
560
560
|
return this.lowercaseComponentName === "group";
|
|
561
561
|
}
|
|
562
562
|
get name() {
|
|
563
|
-
return this._parsedProps.name ?? this.fallbackUnassignedName
|
|
563
|
+
return this._parsedProps.name ?? this.fallbackUnassignedName;
|
|
564
564
|
}
|
|
565
565
|
/**
|
|
566
566
|
* A primitive container is a component that contains one or more ports and
|
|
@@ -5812,7 +5812,7 @@ var NormalComponent = class extends PrimitiveComponent2 {
|
|
|
5812
5812
|
const fpSoup = fp.string(footprint).soup();
|
|
5813
5813
|
const fpComponents = createComponentsFromCircuitJson(
|
|
5814
5814
|
{
|
|
5815
|
-
componentName: this.name,
|
|
5815
|
+
componentName: this.name ?? this.componentName,
|
|
5816
5816
|
componentRotation: pcbRotation,
|
|
5817
5817
|
footprint,
|
|
5818
5818
|
pinLabels
|