@tscircuit/core 0.0.1079 → 0.0.1080
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 +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -371,7 +371,8 @@ var asyncPhaseDependencies = {
|
|
|
371
371
|
CadModelRender: ["PcbFootprintStringRender"],
|
|
372
372
|
PartsEngineRender: ["PcbFootprintStringRender"],
|
|
373
373
|
PcbComponentAnchorAlignment: ["PcbFootprintStringRender"],
|
|
374
|
-
PcbCalcPlacementResolution: ["PcbFootprintStringRender"]
|
|
374
|
+
PcbCalcPlacementResolution: ["PcbFootprintStringRender"],
|
|
375
|
+
SourceTraceRender: ["PcbFootprintStringRender"]
|
|
375
376
|
};
|
|
376
377
|
var globalRenderCounter = 0;
|
|
377
378
|
var globalAsyncEffectCounter = 0;
|
|
@@ -10595,7 +10596,9 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
|
|
|
10595
10596
|
}
|
|
10596
10597
|
getPortsFromFootprint(opts) {
|
|
10597
10598
|
let { footprint } = this.props;
|
|
10598
|
-
if (
|
|
10599
|
+
if (typeof footprint === "string" && parseLibraryFootprintRef(footprint) && this.children.some((c) => c.componentName === "Footprint")) {
|
|
10600
|
+
footprint = this.children.find((c) => c.componentName === "Footprint");
|
|
10601
|
+
} else if (!footprint || isValidElement(footprint)) {
|
|
10599
10602
|
footprint = this.children.find((c) => c.componentName === "Footprint");
|
|
10600
10603
|
}
|
|
10601
10604
|
if (typeof footprint === "string") {
|
|
@@ -18118,7 +18121,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
18118
18121
|
var package_default = {
|
|
18119
18122
|
name: "@tscircuit/core",
|
|
18120
18123
|
type: "module",
|
|
18121
|
-
version: "0.0.
|
|
18124
|
+
version: "0.0.1079",
|
|
18122
18125
|
types: "dist/index.d.ts",
|
|
18123
18126
|
main: "dist/index.js",
|
|
18124
18127
|
module: "dist/index.js",
|