@tscircuit/core 0.0.640 → 0.0.641
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 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10443,7 +10443,8 @@ var Capacitor = class extends NormalComponent {
|
|
|
10443
10443
|
}
|
|
10444
10444
|
}
|
|
10445
10445
|
_getSchematicSymbolDisplayValue() {
|
|
10446
|
-
const
|
|
10446
|
+
const inputCapacitance = this.props.capacitance;
|
|
10447
|
+
const capacitanceDisplay = typeof inputCapacitance === "string" ? inputCapacitance : `${formatSiUnit(this._parsedProps.capacitance)}F`;
|
|
10447
10448
|
if (this._parsedProps.schShowRatings && this._parsedProps.maxVoltageRating) {
|
|
10448
10449
|
return `${capacitanceDisplay}/${formatSiUnit(this._parsedProps.maxVoltageRating)}V`;
|
|
10449
10450
|
}
|
|
@@ -12765,7 +12766,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
12765
12766
|
var package_default = {
|
|
12766
12767
|
name: "@tscircuit/core",
|
|
12767
12768
|
type: "module",
|
|
12768
|
-
version: "0.0.
|
|
12769
|
+
version: "0.0.640",
|
|
12769
12770
|
types: "dist/index.d.ts",
|
|
12770
12771
|
main: "dist/index.js",
|
|
12771
12772
|
module: "dist/index.js",
|