schematic-symbols 0.0.158 → 0.0.159

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
@@ -1758,10 +1758,10 @@ var capacitor_down_default = modifySymbol({
1758
1758
  ],
1759
1759
  size: { width: bounds16.width, height: bounds16.height },
1760
1760
  center: { x: bounds16.centerX, y: bounds16.centerY }
1761
- }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
1761
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
1762
1762
 
1763
1763
  // symbols/capacitor_left.ts
1764
- var capacitor_left_default = modifySymbol(capacitor_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["2"]).labelPort("right1", ["1"]).changeTextAnchor("{REF}", "middle_bottom").build();
1764
+ var capacitor_left_default = modifySymbol(capacitor_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
1765
1765
 
1766
1766
  // assets/generated/capacitor_polarized.json
1767
1767
  var capacitor_polarized_default = {
@@ -3613,7 +3613,7 @@ var capacitor_polarized_up_default = modifySymbol({
3613
3613
  }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "bottom_left").build();
3614
3614
 
3615
3615
  // symbols/capacitor_right.ts
3616
- var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3616
+ var capacitor_right_default = modifySymbol(capacitor_default).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "middle_bottom").build();
3617
3617
 
3618
3618
  // symbols/capacitor_up.ts
3619
3619
  var { paths: paths20, texts: texts19, bounds: bounds20, refblocks: refblocks20, circles: circles20 } = capacitor_default;
@@ -3642,7 +3642,7 @@ var capacitor_up_default = modifySymbol({
3642
3642
  ],
3643
3643
  size: { width: bounds20.width, height: bounds20.height },
3644
3644
  center: { x: bounds20.centerX, y: bounds20.centerY }
3645
- }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3645
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
3646
3646
 
3647
3647
  // assets/generated/constant_current_diode.json
3648
3648
  var constant_current_diode_default = {