@tscircuit/core 0.0.291 → 0.0.293
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
|
@@ -3513,7 +3513,7 @@ var NormalComponent = class extends PrimitiveComponent {
|
|
|
3513
3513
|
return `${url}${url.includes("?") ? "&" : "?"}cachebust_origin=${encodeURIComponent(origin)}`;
|
|
3514
3514
|
}
|
|
3515
3515
|
doInitialPartsEngineRender() {
|
|
3516
|
-
const
|
|
3516
|
+
const partsEngine = this.getInheritedProperty("partsEngine");
|
|
3517
3517
|
if (!partsEngine) return;
|
|
3518
3518
|
const { db } = this.root;
|
|
3519
3519
|
const source_component = db.source_component.get(this.source_component_id);
|
|
@@ -5528,7 +5528,7 @@ var Capacitor = class extends NormalComponent {
|
|
|
5528
5528
|
get config() {
|
|
5529
5529
|
return {
|
|
5530
5530
|
componentName: "Capacitor",
|
|
5531
|
-
schematicSymbolName: this.props.symbolName ?? "capacitor",
|
|
5531
|
+
schematicSymbolName: this.props.polarized ? "capacitor_polarized" : this.props.symbolName ?? "capacitor",
|
|
5532
5532
|
zodProps: capacitorProps,
|
|
5533
5533
|
sourceFtype: FTYPE.simple_capacitor
|
|
5534
5534
|
};
|