circuit-to-svg 0.0.415 → 0.0.416

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
@@ -7745,7 +7745,7 @@ function getSoftwareUsedString(circuitJson) {
7745
7745
  var package_default = {
7746
7746
  name: "circuit-to-svg",
7747
7747
  type: "module",
7748
- version: "0.0.414",
7748
+ version: "0.0.415",
7749
7749
  repository: {
7750
7750
  type: "git",
7751
7751
  url: "https://github.com/tscircuit/circuit-to-svg.git"
@@ -15164,7 +15164,9 @@ var createSvgObjectsFromSchematicComponentWithPrimitives = ({
15164
15164
  for (const elm of circuitJson) {
15165
15165
  if (!("schematic_component_id" in elm) || elm.schematic_component_id !== compId)
15166
15166
  continue;
15167
- if (elm.type === "schematic_line") {
15167
+ if (elm.type === "schematic_text" && schComponent.is_box_with_pins === false) {
15168
+ svgObjects.push(createSvgSchText({ elm, transform, colorMap: colorMap2 }));
15169
+ } else if (elm.type === "schematic_line") {
15168
15170
  svgObjects.push(
15169
15171
  ...createSvgObjectsFromSchematicLine({
15170
15172
  schLine: elm,