circuit-to-svg 0.0.196 → 0.0.197

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 CHANGED
@@ -1743,7 +1743,7 @@ function getSoftwareUsedString(circuitJson) {
1743
1743
  var package_default = {
1744
1744
  name: "circuit-to-svg",
1745
1745
  type: "module",
1746
- version: "0.0.195",
1746
+ version: "0.0.196",
1747
1747
  description: "Convert Circuit JSON to SVG",
1748
1748
  main: "dist/index.js",
1749
1749
  files: [
@@ -1767,7 +1767,7 @@ var package_default = {
1767
1767
  "bun-match-svg": "^0.0.12",
1768
1768
  esbuild: "^0.20.2",
1769
1769
  "performance-now": "^2.1.0",
1770
- "circuit-json": "^0.0.260",
1770
+ "circuit-json": "^0.0.261",
1771
1771
  react: "19.1.0",
1772
1772
  "react-cosmos": "7.0.0",
1773
1773
  "react-cosmos-plugin-vite": "7.0.0",
@@ -5359,6 +5359,9 @@ var createSvgObjectsFromSchematicComponentWithBox = ({
5359
5359
  // lib/sch/svg-object-fns/create-svg-objects-from-sch-component.ts
5360
5360
  function createSvgObjectsFromSchematicComponent(params) {
5361
5361
  const { component } = params;
5362
+ if (component.is_box_with_pins === false) {
5363
+ return [];
5364
+ }
5362
5365
  const innerElements = component.symbol_name ? createSvgObjectsFromSchematicComponentWithSymbol(params) : createSvgObjectsFromSchematicComponentWithBox(params);
5363
5366
  return [
5364
5367
  {