@tscircuit/props 0.0.237 → 0.0.239

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
@@ -448,6 +448,10 @@ export interface JumperProps extends CommonComponentProps {
448
448
  * e.g., [["1","2"], ["2","3"]]
449
449
  */
450
450
  internallyConnectedPins?: string[][]
451
+ /**
452
+ * Connections to other components
453
+ */
454
+ connections?: Connections<string>
451
455
  }
452
456
  ```
453
457
 
package/dist/index.d.ts CHANGED
@@ -1526,6 +1526,9 @@ declare const point3: z.ZodObject<{
1526
1526
  z: string | number;
1527
1527
  }>;
1528
1528
 
1529
+ declare const schematicOrientation: z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>;
1530
+ type SchematicOrientation = "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right";
1531
+
1529
1532
  /**
1530
1533
  * @deprecated Use SchematicPortArrangementWithPinCounts instead.
1531
1534
  */
@@ -9695,6 +9698,10 @@ interface JumperProps extends CommonComponentProps {
9695
9698
  * e.g., [["1","2"], ["2","3"]]
9696
9699
  */
9697
9700
  internallyConnectedPins?: string[][];
9701
+ /**
9702
+ * Connections to other components
9703
+ */
9704
+ connections?: Connections<string>;
9698
9705
  }
9699
9706
  declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
9700
9707
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -10090,6 +10097,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
10090
10097
  }>>;
10091
10098
  pinCount: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
10092
10099
  internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
10100
+ connections: z.ZodOptional<z.ZodPipeline<z.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, z.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
10093
10101
  }>, "strip", z.ZodTypeAny, {
10094
10102
  name: string;
10095
10103
  pcbX?: number | undefined;
@@ -10200,6 +10208,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
10200
10208
  bottomMargin?: number | undefined;
10201
10209
  }> | undefined;
10202
10210
  schPinSpacing?: number | undefined;
10211
+ connections?: Record<string, string | readonly string[] | string[]> | undefined;
10203
10212
  schDirection?: "left" | "right" | undefined;
10204
10213
  pinCount?: 2 | 3 | undefined;
10205
10214
  }, {
@@ -10314,6 +10323,7 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
10314
10323
  bottomMargin?: string | number | undefined;
10315
10324
  }> | undefined;
10316
10325
  schPinSpacing?: string | number | undefined;
10326
+ connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
10317
10327
  schDirection?: "left" | "right" | undefined;
10318
10328
  pinCount?: 2 | 3 | undefined;
10319
10329
  }>;
@@ -10718,6 +10728,7 @@ declare const solderjumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUt
10718
10728
  }>>;
10719
10729
  pinCount: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
10720
10730
  internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
10731
+ connections: z.ZodOptional<z.ZodPipeline<z.ZodType<Partial<Record<string, string | string[] | readonly string[]>>, z.ZodTypeDef, Partial<Record<string, string | string[] | readonly string[]>>>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>>;
10721
10732
  }>, {
10722
10733
  bridgedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
10723
10734
  }>, "strip", z.ZodTypeAny, {
@@ -10830,6 +10841,7 @@ declare const solderjumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUt
10830
10841
  bottomMargin?: number | undefined;
10831
10842
  }> | undefined;
10832
10843
  schPinSpacing?: number | undefined;
10844
+ connections?: Record<string, string | readonly string[] | string[]> | undefined;
10833
10845
  schDirection?: "left" | "right" | undefined;
10834
10846
  pinCount?: 2 | 3 | undefined;
10835
10847
  bridgedPins?: string[][] | undefined;
@@ -10945,6 +10957,7 @@ declare const solderjumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUt
10945
10957
  bottomMargin?: string | number | undefined;
10946
10958
  }> | undefined;
10947
10959
  schPinSpacing?: string | number | undefined;
10960
+ connections?: Partial<Record<string, string | string[] | readonly string[]>> | undefined;
10948
10961
  schDirection?: "left" | "right" | undefined;
10949
10962
  pinCount?: 2 | 3 | undefined;
10950
10963
  bridgedPins?: string[][] | undefined;
@@ -11609,6 +11622,7 @@ interface FuseProps extends CommonComponentProps {
11609
11622
  * Whether to show ratings on schematic
11610
11623
  */
11611
11624
  schShowRatings?: boolean;
11625
+ schOrientation?: SchematicOrientation;
11612
11626
  /**
11613
11627
  * Connections to other components
11614
11628
  */
@@ -11878,6 +11892,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
11878
11892
  currentRating: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
11879
11893
  voltageRating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11880
11894
  schShowRatings: z.ZodOptional<z.ZodBoolean>;
11895
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
11881
11896
  connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>, z.ZodArray<z.ZodString, "many">]>>>;
11882
11897
  }>, "strip", z.ZodTypeAny, {
11883
11898
  name: string;
@@ -11951,6 +11966,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
11951
11966
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
11952
11967
  voltageRating?: string | number | undefined;
11953
11968
  schShowRatings?: boolean | undefined;
11969
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
11954
11970
  }, {
11955
11971
  name: string;
11956
11972
  currentRating: string | number;
@@ -12025,6 +12041,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
12025
12041
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
12026
12042
  voltageRating?: string | number | undefined;
12027
12043
  schShowRatings?: boolean | undefined;
12044
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12028
12045
  }>;
12029
12046
  type InferredFuseProps = z.input<typeof fuseProps>;
12030
12047
 
@@ -12423,6 +12440,7 @@ interface ResistorProps extends CommonComponentProps {
12423
12440
  pullupTo?: string;
12424
12441
  pulldownFor?: string;
12425
12442
  pulldownTo?: string;
12443
+ schOrientation?: SchematicOrientation;
12426
12444
  connections?: Connections<ResistorPinLabels>;
12427
12445
  }
12428
12446
  declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -12688,6 +12706,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12688
12706
  pullupTo: z.ZodOptional<z.ZodString>;
12689
12707
  pulldownFor: z.ZodOptional<z.ZodString>;
12690
12708
  pulldownTo: z.ZodOptional<z.ZodString>;
12709
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
12691
12710
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
12692
12711
  }>, "strip", z.ZodTypeAny, {
12693
12712
  name: string;
@@ -12759,6 +12778,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12759
12778
  symbolName?: string | undefined;
12760
12779
  doNotPlace?: boolean | undefined;
12761
12780
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
12781
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12762
12782
  pullupFor?: string | undefined;
12763
12783
  pullupTo?: string | undefined;
12764
12784
  pulldownFor?: string | undefined;
@@ -12835,6 +12855,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12835
12855
  symbolName?: string | undefined;
12836
12856
  doNotPlace?: boolean | undefined;
12837
12857
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
12858
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12838
12859
  pullupFor?: string | undefined;
12839
12860
  pullupTo?: string | undefined;
12840
12861
  pulldownFor?: string | undefined;
@@ -13256,6 +13277,7 @@ interface CrystalProps extends CommonComponentProps {
13256
13277
  frequency: number | string;
13257
13278
  loadCapacitance: number | string;
13258
13279
  pinVariant?: PinVariant;
13280
+ schOrientation?: SchematicOrientation;
13259
13281
  }
13260
13282
  declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13261
13283
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -13518,6 +13540,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13518
13540
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13519
13541
  loadCapacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
13520
13542
  pinVariant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
13543
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
13521
13544
  }>, "strip", z.ZodTypeAny, {
13522
13545
  name: string;
13523
13546
  frequency: number;
@@ -13588,6 +13611,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13588
13611
  children?: any;
13589
13612
  symbolName?: string | undefined;
13590
13613
  doNotPlace?: boolean | undefined;
13614
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
13591
13615
  pinVariant?: "two_pin" | "four_pin" | undefined;
13592
13616
  }, {
13593
13617
  name: string;
@@ -13661,6 +13685,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13661
13685
  children?: any;
13662
13686
  symbolName?: string | undefined;
13663
13687
  doNotPlace?: boolean | undefined;
13688
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
13664
13689
  pinVariant?: "two_pin" | "four_pin" | undefined;
13665
13690
  }>;
13666
13691
  declare const crystalPins: readonly ["pin1", "left", "pin2", "right"];
@@ -14949,6 +14974,7 @@ interface CapacitorProps extends CommonComponentProps {
14949
14974
  bypassFor?: string;
14950
14975
  bypassTo?: string;
14951
14976
  maxDecouplingTraceLength?: number;
14977
+ schOrientation?: SchematicOrientation;
14952
14978
  connections?: Connections<CapacitorPinLabels>;
14953
14979
  }
14954
14980
  declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -15218,6 +15244,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15218
15244
  bypassFor: z.ZodOptional<z.ZodString>;
15219
15245
  bypassTo: z.ZodOptional<z.ZodString>;
15220
15246
  maxDecouplingTraceLength: z.ZodOptional<z.ZodNumber>;
15247
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
15221
15248
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
15222
15249
  }>, "strip", z.ZodTypeAny, {
15223
15250
  name: string;
@@ -15291,6 +15318,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15291
15318
  symbolName?: string | undefined;
15292
15319
  doNotPlace?: boolean | undefined;
15293
15320
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
15321
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
15294
15322
  maxVoltageRating?: number | undefined;
15295
15323
  decouplingFor?: string | undefined;
15296
15324
  decouplingTo?: string | undefined;
@@ -15370,6 +15398,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15370
15398
  doNotPlace?: boolean | undefined;
15371
15399
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
15372
15400
  schShowRatings?: boolean | undefined;
15401
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
15373
15402
  maxVoltageRating?: string | number | undefined;
15374
15403
  polarized?: boolean | undefined;
15375
15404
  decouplingFor?: string | undefined;
@@ -16701,6 +16730,7 @@ type FootprintPropsInput = z.input<typeof footprintProps>;
16701
16730
 
16702
16731
  interface BatteryProps extends CommonComponentProps {
16703
16732
  capacity?: number | string;
16733
+ schOrientation?: SchematicOrientation;
16704
16734
  }
16705
16735
  declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
16706
16736
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16961,6 +16991,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
16961
16991
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
16962
16992
  }>, {
16963
16993
  capacity: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
16994
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
16964
16995
  }>, "strip", z.ZodTypeAny, {
16965
16996
  name: string;
16966
16997
  pcbX?: number | undefined;
@@ -17029,6 +17060,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
17029
17060
  children?: any;
17030
17061
  symbolName?: string | undefined;
17031
17062
  doNotPlace?: boolean | undefined;
17063
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
17032
17064
  capacity?: number | undefined;
17033
17065
  }, {
17034
17066
  name: string;
@@ -17100,6 +17132,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
17100
17132
  children?: any;
17101
17133
  symbolName?: string | undefined;
17102
17134
  doNotPlace?: boolean | undefined;
17135
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
17103
17136
  capacity?: string | number | undefined;
17104
17137
  }>;
17105
17138
  declare const batteryPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
@@ -20283,6 +20316,7 @@ declare const mosfetPins: readonly ["pin1", "drain", "pin2", "source", "pin3", "
20283
20316
  interface InductorProps extends CommonComponentProps {
20284
20317
  inductance: number | string;
20285
20318
  maxCurrentRating?: number | string;
20319
+ schOrientation?: SchematicOrientation;
20286
20320
  }
20287
20321
  declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20288
20322
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -20544,6 +20578,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20544
20578
  }>, {
20545
20579
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
20546
20580
  maxCurrentRating: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
20581
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
20547
20582
  }>, "strip", z.ZodTypeAny, {
20548
20583
  name: string;
20549
20584
  inductance: number;
@@ -20613,6 +20648,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20613
20648
  children?: any;
20614
20649
  symbolName?: string | undefined;
20615
20650
  doNotPlace?: boolean | undefined;
20651
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
20616
20652
  maxCurrentRating?: string | number | undefined;
20617
20653
  }, {
20618
20654
  name: string;
@@ -20685,6 +20721,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20685
20721
  children?: any;
20686
20722
  symbolName?: string | undefined;
20687
20723
  doNotPlace?: boolean | undefined;
20724
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
20688
20725
  maxCurrentRating?: string | number | undefined;
20689
20726
  }>;
20690
20727
  declare const inductorPins: readonly ["pin1", "left", "pin2", "right"];
@@ -20954,6 +20991,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
20954
20991
  zener: z.ZodOptional<z.ZodBoolean>;
20955
20992
  photo: z.ZodOptional<z.ZodBoolean>;
20956
20993
  tvs: z.ZodOptional<z.ZodBoolean>;
20994
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
20957
20995
  }>, "strip", z.ZodTypeAny, {
20958
20996
  name: string;
20959
20997
  variant: "standard" | "schottky" | "zener" | "photo" | "tvs";
@@ -21025,6 +21063,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21025
21063
  doNotPlace?: boolean | undefined;
21026
21064
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21027
21065
  standard?: boolean | undefined;
21066
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21028
21067
  schottky?: boolean | undefined;
21029
21068
  zener?: boolean | undefined;
21030
21069
  photo?: boolean | undefined;
@@ -21101,6 +21140,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21101
21140
  doNotPlace?: boolean | undefined;
21102
21141
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21103
21142
  standard?: boolean | undefined;
21143
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21104
21144
  schottky?: boolean | undefined;
21105
21145
  zener?: boolean | undefined;
21106
21146
  photo?: boolean | undefined;
@@ -21177,6 +21217,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21177
21217
  doNotPlace?: boolean | undefined;
21178
21218
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21179
21219
  standard?: boolean | undefined;
21220
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21180
21221
  schottky?: boolean | undefined;
21181
21222
  zener?: boolean | undefined;
21182
21223
  photo?: boolean | undefined;
@@ -21253,6 +21294,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21253
21294
  doNotPlace?: boolean | undefined;
21254
21295
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21255
21296
  standard?: boolean | undefined;
21297
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21256
21298
  schottky?: boolean | undefined;
21257
21299
  zener?: boolean | undefined;
21258
21300
  photo?: boolean | undefined;
@@ -21333,6 +21375,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21333
21375
  symbolName?: string | undefined;
21334
21376
  doNotPlace?: boolean | undefined;
21335
21377
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21378
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21336
21379
  }, {
21337
21380
  name: string;
21338
21381
  pcbX?: string | number | undefined;
@@ -21405,6 +21448,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21405
21448
  doNotPlace?: boolean | undefined;
21406
21449
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21407
21450
  standard?: boolean | undefined;
21451
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21408
21452
  schottky?: boolean | undefined;
21409
21453
  zener?: boolean | undefined;
21410
21454
  photo?: boolean | undefined;
@@ -21427,6 +21471,7 @@ interface DiodeProps extends CommonComponentProps {
21427
21471
  zener?: boolean;
21428
21472
  photo?: boolean;
21429
21473
  tvs?: boolean;
21474
+ schOrientation?: SchematicOrientation;
21430
21475
  }
21431
21476
  type InferredDiodeProps = z.input<typeof diodeProps>;
21432
21477
 
@@ -21691,6 +21736,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21691
21736
  color: z.ZodOptional<z.ZodString>;
21692
21737
  wavelength: z.ZodOptional<z.ZodString>;
21693
21738
  schDisplayValue: z.ZodOptional<z.ZodString>;
21739
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
21694
21740
  }>, "strip", z.ZodTypeAny, {
21695
21741
  name: string;
21696
21742
  pcbX?: number | undefined;
@@ -21759,6 +21805,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21759
21805
  children?: any;
21760
21806
  symbolName?: string | undefined;
21761
21807
  doNotPlace?: boolean | undefined;
21808
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21762
21809
  color?: string | undefined;
21763
21810
  wavelength?: string | undefined;
21764
21811
  schDisplayValue?: string | undefined;
@@ -21832,6 +21879,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21832
21879
  children?: any;
21833
21880
  symbolName?: string | undefined;
21834
21881
  doNotPlace?: boolean | undefined;
21882
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21835
21883
  color?: string | undefined;
21836
21884
  wavelength?: string | undefined;
21837
21885
  schDisplayValue?: string | undefined;
@@ -24382,4 +24430,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
24382
24430
 
24383
24431
  declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
24384
24432
 
24385
- export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
24433
+ export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };