@tscircuit/props 0.0.305 → 0.0.306

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/README.md CHANGED
@@ -674,6 +674,11 @@ export interface PinHeaderProps extends CommonComponentProps {
674
674
  */
675
675
  rightAngle?: boolean;
676
676
 
677
+ /**
678
+ * Orientation of the header on the PCB
679
+ */
680
+ pcbOrientation?: PcbOrientation;
681
+
677
682
  /**
678
683
  * Diameter of the through-hole for each pin
679
684
  */
package/dist/index.d.ts CHANGED
@@ -28798,6 +28798,8 @@ declare const batteryProps: z.ZodObject<{
28798
28798
  declare const batteryPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
28799
28799
  type BatteryPinLabels = (typeof batteryPins)[number];
28800
28800
 
28801
+ type PcbOrientation = "vertical" | "horizontal";
28802
+
28801
28803
  interface PinHeaderProps extends CommonComponentProps {
28802
28804
  /**
28803
28805
  * Number of pins in the header
@@ -28831,6 +28833,10 @@ interface PinHeaderProps extends CommonComponentProps {
28831
28833
  * If true, the header is a right-angle style connector
28832
28834
  */
28833
28835
  rightAngle?: boolean;
28836
+ /**
28837
+ * Orientation of the header on the PCB
28838
+ */
28839
+ pcbOrientation?: PcbOrientation;
28834
28840
  /**
28835
28841
  * Diameter of the through-hole for each pin
28836
28842
  */
@@ -29471,6 +29477,7 @@ declare const pinHeaderProps: z.ZodObject<{
29471
29477
  pcbPinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29472
29478
  doubleRow: z.ZodOptional<z.ZodBoolean>;
29473
29479
  rightAngle: z.ZodOptional<z.ZodBoolean>;
29480
+ pcbOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
29474
29481
  holeDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29475
29482
  platedDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
29476
29483
  pinLabels: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
@@ -29806,6 +29813,7 @@ declare const pinHeaderProps: z.ZodObject<{
29806
29813
  showSilkscreenPinLabels?: boolean | undefined;
29807
29814
  doubleRow?: boolean | undefined;
29808
29815
  rightAngle?: boolean | undefined;
29816
+ pcbOrientation?: "vertical" | "horizontal" | undefined;
29809
29817
  platedDiameter?: number | undefined;
29810
29818
  facingDirection?: "left" | "right" | undefined;
29811
29819
  }, {
@@ -30009,6 +30017,7 @@ declare const pinHeaderProps: z.ZodObject<{
30009
30017
  showSilkscreenPinLabels?: boolean | undefined;
30010
30018
  doubleRow?: boolean | undefined;
30011
30019
  rightAngle?: boolean | undefined;
30020
+ pcbOrientation?: "vertical" | "horizontal" | undefined;
30012
30021
  platedDiameter?: string | number | undefined;
30013
30022
  facingDirection?: "left" | "right" | undefined;
30014
30023
  }>;