circuit-to-svg 0.0.315 → 0.0.316
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 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6042,7 +6042,7 @@ function getSoftwareUsedString(circuitJson) {
|
|
|
6042
6042
|
var package_default = {
|
|
6043
6043
|
name: "circuit-to-svg",
|
|
6044
6044
|
type: "module",
|
|
6045
|
-
version: "0.0.
|
|
6045
|
+
version: "0.0.315",
|
|
6046
6046
|
description: "Convert Circuit JSON to SVG",
|
|
6047
6047
|
main: "dist/index.js",
|
|
6048
6048
|
files: [
|
|
@@ -6065,7 +6065,7 @@ var package_default = {
|
|
|
6065
6065
|
"@vitejs/plugin-react": "5.0.0",
|
|
6066
6066
|
biome: "^0.3.3",
|
|
6067
6067
|
"bun-match-svg": "^0.0.12",
|
|
6068
|
-
"circuit-json": "^0.0.
|
|
6068
|
+
"circuit-json": "^0.0.357",
|
|
6069
6069
|
esbuild: "^0.20.2",
|
|
6070
6070
|
"performance-now": "^2.1.0",
|
|
6071
6071
|
react: "19.1.0",
|
|
@@ -10783,7 +10783,7 @@ var createSvgObjectsFromSchematicComponentWithSymbol = ({
|
|
|
10783
10783
|
);
|
|
10784
10784
|
let textValue = "";
|
|
10785
10785
|
if (text.text === "{REF}") {
|
|
10786
|
-
textValue = srcComponent?.name ?? "";
|
|
10786
|
+
textValue = srcComponent?.display_name ?? srcComponent?.name ?? "";
|
|
10787
10787
|
} else if (text.text === "{VAL}") {
|
|
10788
10788
|
textValue = schComponent.symbol_display_value ?? "";
|
|
10789
10789
|
}
|