schematic-symbols 0.0.160 → 0.0.161

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
@@ -3531,29 +3531,32 @@ var capacitor_polarized_down_default = modifySymbol({
3531
3531
  {
3532
3532
  type: "text",
3533
3533
  text: "{REF}",
3534
- x: -0.2,
3535
- y: 0.2094553499999995
3534
+ x: 0.1,
3535
+ y: -0.2094553499999995
3536
3536
  },
3537
3537
  {
3538
3538
  type: "text",
3539
3539
  text: "{VAL}",
3540
- x: 0.3,
3541
- y: 0.2094553499999995
3540
+ x: -0.2,
3541
+ y: -0.2094553499999995
3542
3542
  }
3543
3543
  ],
3544
3544
  ports: [
3545
- { ...refblocks17.left1, labels: ["1"] },
3545
+ { ...refblocks17.left1, labels: ["2"] },
3546
3546
  // TODO add more "standard" labels
3547
- { ...refblocks17.right1, labels: ["2"] }
3547
+ { ...refblocks17.right1, labels: ["1"] }
3548
3548
  // TODO add more "standard" labels
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", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "bottom_left").build();
3552
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("up").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
3553
3553
 
3554
3554
  // symbols/capacitor_polarized_left.ts
3555
+ var capacitor_polarized_left_default = modifySymbol(capacitor_polarized_default).changeTextAnchor("{VAL}", "middle_top").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3556
+
3557
+ // symbols/capacitor_polarized_right.ts
3555
3558
  var { paths: paths18, texts: texts17, bounds: bounds18, refblocks: refblocks18, circles: circles18 } = capacitor_polarized_default;
3556
- var capacitor_polarized_left_default = modifySymbol({
3559
+ var capacitor_polarized_right_default = modifySymbol({
3557
3560
  primitives: [
3558
3561
  ...Object.values(paths18),
3559
3562
  ...Object.values(circles18),
@@ -3571,17 +3574,14 @@ var capacitor_polarized_left_default = modifySymbol({
3571
3574
  }
3572
3575
  ],
3573
3576
  ports: [
3574
- { ...refblocks18.left1, labels: ["1"] },
3577
+ { ...refblocks18.left1, labels: ["2"] },
3575
3578
  // TODO add more "standard" labels
3576
- { ...refblocks18.right1, labels: ["2"] }
3579
+ { ...refblocks18.right1, labels: ["1"] }
3577
3580
  // TODO add more "standard" labels
3578
3581
  ],
3579
3582
  size: { width: bounds18.width, height: bounds18.height },
3580
3583
  center: { x: bounds18.centerX, y: bounds18.centerY }
3581
- }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["1", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3582
-
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", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "middle_bottom").build();
3584
+ }).changeTextAnchor("{VAL}", "middle_bottom").rotateRightFacingSymbol("left").labelPort("left1", ["2", "neg"]).labelPort("right1", ["1", "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;
@@ -3592,25 +3592,25 @@ var capacitor_polarized_up_default = modifySymbol({
3592
3592
  {
3593
3593
  type: "text",
3594
3594
  text: "{REF}",
3595
- x: 0.1,
3596
- y: -0.2094553499999995
3595
+ x: -0.2,
3596
+ y: 0.2094553499999995
3597
3597
  },
3598
3598
  {
3599
3599
  type: "text",
3600
3600
  text: "{VAL}",
3601
- x: -0.2,
3602
- y: -0.2094553499999995
3601
+ x: 0.3,
3602
+ y: 0.2094553499999995
3603
3603
  }
3604
3604
  ],
3605
3605
  ports: [
3606
- { ...refblocks19.left1, labels: ["1"] },
3606
+ { ...refblocks19.left1, labels: ["2"] },
3607
3607
  // TODO add more "standard" labels
3608
- { ...refblocks19.right1, labels: ["2"] }
3608
+ { ...refblocks19.right1, labels: ["1"] }
3609
3609
  // TODO add more "standard" labels
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", "neg"]).labelPort("right1", ["2", "pos"]).changeTextAnchor("{REF}", "bottom_left").build();
3613
+ }).changeTextAnchor("{VAL}", "top_left").rotateRightFacingSymbol("down").labelPort("left1", ["1", "pos"]).labelPort("right1", ["2", "neg"]).changeTextAnchor("{REF}", "bottom_left").build();
3614
3614
 
3615
3615
  // symbols/capacitor_right.ts
3616
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();