@tscircuit/core 0.0.438 → 0.0.439
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 +17 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8139,6 +8139,8 @@ var Resistor = class extends NormalComponent {
|
|
|
8139
8139
|
this._createNetsFromProps([
|
|
8140
8140
|
this.props.pullupFor,
|
|
8141
8141
|
this.props.pullupTo,
|
|
8142
|
+
this.props.pulldownFor,
|
|
8143
|
+
this.props.pulldownTo,
|
|
8142
8144
|
...this._getNetsFromConnectionsProp()
|
|
8143
8145
|
]);
|
|
8144
8146
|
}
|
|
@@ -8157,6 +8159,20 @@ var Resistor = class extends NormalComponent {
|
|
|
8157
8159
|
})
|
|
8158
8160
|
);
|
|
8159
8161
|
}
|
|
8162
|
+
if (this.props.pulldownFor && this.props.pulldownTo) {
|
|
8163
|
+
this.add(
|
|
8164
|
+
new Trace2({
|
|
8165
|
+
from: `${this.getSubcircuitSelector()} > port.1`,
|
|
8166
|
+
to: this.props.pulldownFor
|
|
8167
|
+
})
|
|
8168
|
+
);
|
|
8169
|
+
this.add(
|
|
8170
|
+
new Trace2({
|
|
8171
|
+
from: `${this.getSubcircuitSelector()} > port.2`,
|
|
8172
|
+
to: this.props.pulldownTo
|
|
8173
|
+
})
|
|
8174
|
+
);
|
|
8175
|
+
}
|
|
8160
8176
|
this._createTracesFromConnectionsProp();
|
|
8161
8177
|
}
|
|
8162
8178
|
doInitialSourceRender() {
|
|
@@ -9235,7 +9251,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
9235
9251
|
var package_default = {
|
|
9236
9252
|
name: "@tscircuit/core",
|
|
9237
9253
|
type: "module",
|
|
9238
|
-
version: "0.0.
|
|
9254
|
+
version: "0.0.438",
|
|
9239
9255
|
types: "dist/index.d.ts",
|
|
9240
9256
|
main: "dist/index.js",
|
|
9241
9257
|
module: "dist/index.js",
|