schematic-symbols 0.0.157 → 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 = {
@@ -3549,7 +3549,7 @@ var capacitor_polarized_down_default = modifySymbol({
3549
3549
  ],
3550
3550
  size: { width: bounds17.width, height: bounds17.height },
3551
3551
  center: { x: bounds17.centerX, y: bounds17.centerY }
3552
- }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
3552
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "bottom_left").build();
3553
3553
 
3554
3554
  // symbols/capacitor_polarized_left.ts
3555
3555
  var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
@@ -3578,10 +3578,10 @@ var capacitor_polarized_left_default = modifySymbol({
3578
3578
  ],
3579
3579
  size: { width: bounds18.width, height: bounds18.height },
3580
3580
  center: { x: bounds18.centerX, y: bounds18.centerY }
3581
- }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3581
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3582
3582
 
3583
3583
  // symbols/capacitor_polarized_right.ts
3584
- var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "middle_bottom").build();
3584
+ var capacitor_polarized_right_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").rotateRightFacingSymbol("right").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3585
3585
 
3586
3586
  // symbols/capacitor_polarized_up.ts
3587
3587
  var { paths: paths19, texts: texts18, bounds: bounds19, refblocks: refblocks19, circles: circles19 } = capacitor_polarized_default;
@@ -3610,10 +3610,10 @@ var capacitor_polarized_up_default = modifySymbol({
3610
3610
  ],
3611
3611
  size: { width: bounds19.width, height: bounds19.height },
3612
3612
  center: { x: bounds19.centerX, y: bounds19.centerY }
3613
- }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1"]).labelPort("right1", ["2"]).changeTextAnchor("{REF}", "bottom_left").build();
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 = {