@tscircuit/props 0.0.280 → 0.0.282

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
@@ -79,10 +79,6 @@ const myResistor: ResistorProps = {
79
79
  };
80
80
  ```
81
81
 
82
- The `footprint` prop uses a string union so editors can provide basic
83
- autocomplete for common footprints like `0603`, `0402`, `tssop`, and
84
- others while still allowing any custom string.
85
-
86
82
  <!-- USAGE_EXAMPLES_END -->
87
83
 
88
84
  <!-- INTERFACE_DEFINITIONS_START -->
@@ -527,6 +523,10 @@ export interface JumperProps extends CommonComponentProps {
527
523
  schWidth?: number | string;
528
524
  schHeight?: number | string;
529
525
  schDirection?: "left" | "right";
526
+ schPinArrangement?: SchematicPortArrangement;
527
+ /**
528
+ * @deprecated Use schPinArrangement instead.
529
+ */
530
530
  schPortArrangement?: SchematicPortArrangement;
531
531
  /**
532
532
  * Labels for PCB pins
package/dist/index.d.ts CHANGED
@@ -11638,6 +11638,10 @@ interface JumperProps extends CommonComponentProps {
11638
11638
  schWidth?: number | string;
11639
11639
  schHeight?: number | string;
11640
11640
  schDirection?: "left" | "right";
11641
+ schPinArrangement?: SchematicPortArrangement;
11642
+ /**
11643
+ * @deprecated Use schPinArrangement instead.
11644
+ */
11641
11645
  schPortArrangement?: SchematicPortArrangement;
11642
11646
  /**
11643
11647
  * Labels for PCB pins
@@ -11974,6 +11978,106 @@ declare const jumperProps: z.ZodObject<{
11974
11978
  schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11975
11979
  schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11976
11980
  schDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
11981
+ schPinArrangement: z.ZodOptional<z.ZodObject<{
11982
+ leftSize: z.ZodOptional<z.ZodNumber>;
11983
+ topSize: z.ZodOptional<z.ZodNumber>;
11984
+ rightSize: z.ZodOptional<z.ZodNumber>;
11985
+ bottomSize: z.ZodOptional<z.ZodNumber>;
11986
+ leftPinCount: z.ZodOptional<z.ZodNumber>;
11987
+ rightPinCount: z.ZodOptional<z.ZodNumber>;
11988
+ topPinCount: z.ZodOptional<z.ZodNumber>;
11989
+ bottomPinCount: z.ZodOptional<z.ZodNumber>;
11990
+ leftSide: z.ZodOptional<z.ZodObject<{
11991
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
11992
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
11993
+ }, "strip", z.ZodTypeAny, {
11994
+ pins: (string | number)[];
11995
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
11996
+ }, {
11997
+ pins: (string | number)[];
11998
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
11999
+ }>>;
12000
+ rightSide: z.ZodOptional<z.ZodObject<{
12001
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12002
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12003
+ }, "strip", z.ZodTypeAny, {
12004
+ pins: (string | number)[];
12005
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12006
+ }, {
12007
+ pins: (string | number)[];
12008
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12009
+ }>>;
12010
+ topSide: z.ZodOptional<z.ZodObject<{
12011
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12012
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12013
+ }, "strip", z.ZodTypeAny, {
12014
+ pins: (string | number)[];
12015
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12016
+ }, {
12017
+ pins: (string | number)[];
12018
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12019
+ }>>;
12020
+ bottomSide: z.ZodOptional<z.ZodObject<{
12021
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12022
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12023
+ }, "strip", z.ZodTypeAny, {
12024
+ pins: (string | number)[];
12025
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12026
+ }, {
12027
+ pins: (string | number)[];
12028
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12029
+ }>>;
12030
+ }, "strip", z.ZodTypeAny, {
12031
+ leftSize?: number | undefined;
12032
+ topSize?: number | undefined;
12033
+ rightSize?: number | undefined;
12034
+ bottomSize?: number | undefined;
12035
+ leftSide?: {
12036
+ pins: (string | number)[];
12037
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12038
+ } | undefined;
12039
+ topSide?: {
12040
+ pins: (string | number)[];
12041
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12042
+ } | undefined;
12043
+ rightSide?: {
12044
+ pins: (string | number)[];
12045
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12046
+ } | undefined;
12047
+ bottomSide?: {
12048
+ pins: (string | number)[];
12049
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12050
+ } | undefined;
12051
+ leftPinCount?: number | undefined;
12052
+ rightPinCount?: number | undefined;
12053
+ topPinCount?: number | undefined;
12054
+ bottomPinCount?: number | undefined;
12055
+ }, {
12056
+ leftSize?: number | undefined;
12057
+ topSize?: number | undefined;
12058
+ rightSize?: number | undefined;
12059
+ bottomSize?: number | undefined;
12060
+ leftSide?: {
12061
+ pins: (string | number)[];
12062
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12063
+ } | undefined;
12064
+ topSide?: {
12065
+ pins: (string | number)[];
12066
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12067
+ } | undefined;
12068
+ rightSide?: {
12069
+ pins: (string | number)[];
12070
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12071
+ } | undefined;
12072
+ bottomSide?: {
12073
+ pins: (string | number)[];
12074
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12075
+ } | undefined;
12076
+ leftPinCount?: number | undefined;
12077
+ rightPinCount?: number | undefined;
12078
+ topPinCount?: number | undefined;
12079
+ bottomPinCount?: number | undefined;
12080
+ }>>;
11977
12081
  schPortArrangement: z.ZodOptional<z.ZodObject<{
11978
12082
  leftSize: z.ZodOptional<z.ZodNumber>;
11979
12083
  topSize: z.ZodOptional<z.ZodNumber>;
@@ -12163,6 +12267,32 @@ declare const jumperProps: z.ZodObject<{
12163
12267
  pinLabels?: Record<string | number, string | string[]> | undefined;
12164
12268
  pcbPinLabels?: Record<string, string> | undefined;
12165
12269
  internallyConnectedPins?: string[][] | undefined;
12270
+ schPinArrangement?: {
12271
+ leftSize?: number | undefined;
12272
+ topSize?: number | undefined;
12273
+ rightSize?: number | undefined;
12274
+ bottomSize?: number | undefined;
12275
+ leftSide?: {
12276
+ pins: (string | number)[];
12277
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12278
+ } | undefined;
12279
+ topSide?: {
12280
+ pins: (string | number)[];
12281
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12282
+ } | undefined;
12283
+ rightSide?: {
12284
+ pins: (string | number)[];
12285
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12286
+ } | undefined;
12287
+ bottomSide?: {
12288
+ pins: (string | number)[];
12289
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12290
+ } | undefined;
12291
+ leftPinCount?: number | undefined;
12292
+ rightPinCount?: number | undefined;
12293
+ topPinCount?: number | undefined;
12294
+ bottomPinCount?: number | undefined;
12295
+ } | undefined;
12166
12296
  schPortArrangement?: {
12167
12297
  leftSize?: number | undefined;
12168
12298
  topSize?: number | undefined;
@@ -12290,6 +12420,32 @@ declare const jumperProps: z.ZodObject<{
12290
12420
  pinLabels?: Record<string | number, string | string[]> | undefined;
12291
12421
  pcbPinLabels?: Record<string, string> | undefined;
12292
12422
  internallyConnectedPins?: string[][] | undefined;
12423
+ schPinArrangement?: {
12424
+ leftSize?: number | undefined;
12425
+ topSize?: number | undefined;
12426
+ rightSize?: number | undefined;
12427
+ bottomSize?: number | undefined;
12428
+ leftSide?: {
12429
+ pins: (string | number)[];
12430
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12431
+ } | undefined;
12432
+ topSide?: {
12433
+ pins: (string | number)[];
12434
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12435
+ } | undefined;
12436
+ rightSide?: {
12437
+ pins: (string | number)[];
12438
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12439
+ } | undefined;
12440
+ bottomSide?: {
12441
+ pins: (string | number)[];
12442
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12443
+ } | undefined;
12444
+ leftPinCount?: number | undefined;
12445
+ rightPinCount?: number | undefined;
12446
+ topPinCount?: number | undefined;
12447
+ bottomPinCount?: number | undefined;
12448
+ } | undefined;
12293
12449
  schPortArrangement?: {
12294
12450
  leftSize?: number | undefined;
12295
12451
  topSize?: number | undefined;
@@ -12659,6 +12815,106 @@ declare const solderjumperProps: z.ZodObject<{
12659
12815
  schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12660
12816
  schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
12661
12817
  schDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
12818
+ schPinArrangement: z.ZodOptional<z.ZodObject<{
12819
+ leftSize: z.ZodOptional<z.ZodNumber>;
12820
+ topSize: z.ZodOptional<z.ZodNumber>;
12821
+ rightSize: z.ZodOptional<z.ZodNumber>;
12822
+ bottomSize: z.ZodOptional<z.ZodNumber>;
12823
+ leftPinCount: z.ZodOptional<z.ZodNumber>;
12824
+ rightPinCount: z.ZodOptional<z.ZodNumber>;
12825
+ topPinCount: z.ZodOptional<z.ZodNumber>;
12826
+ bottomPinCount: z.ZodOptional<z.ZodNumber>;
12827
+ leftSide: z.ZodOptional<z.ZodObject<{
12828
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12829
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12830
+ }, "strip", z.ZodTypeAny, {
12831
+ pins: (string | number)[];
12832
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12833
+ }, {
12834
+ pins: (string | number)[];
12835
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12836
+ }>>;
12837
+ rightSide: z.ZodOptional<z.ZodObject<{
12838
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12839
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12840
+ }, "strip", z.ZodTypeAny, {
12841
+ pins: (string | number)[];
12842
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12843
+ }, {
12844
+ pins: (string | number)[];
12845
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12846
+ }>>;
12847
+ topSide: z.ZodOptional<z.ZodObject<{
12848
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12849
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12850
+ }, "strip", z.ZodTypeAny, {
12851
+ pins: (string | number)[];
12852
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12853
+ }, {
12854
+ pins: (string | number)[];
12855
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12856
+ }>>;
12857
+ bottomSide: z.ZodOptional<z.ZodObject<{
12858
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
12859
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
12860
+ }, "strip", z.ZodTypeAny, {
12861
+ pins: (string | number)[];
12862
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12863
+ }, {
12864
+ pins: (string | number)[];
12865
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12866
+ }>>;
12867
+ }, "strip", z.ZodTypeAny, {
12868
+ leftSize?: number | undefined;
12869
+ topSize?: number | undefined;
12870
+ rightSize?: number | undefined;
12871
+ bottomSize?: number | undefined;
12872
+ leftSide?: {
12873
+ pins: (string | number)[];
12874
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12875
+ } | undefined;
12876
+ topSide?: {
12877
+ pins: (string | number)[];
12878
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12879
+ } | undefined;
12880
+ rightSide?: {
12881
+ pins: (string | number)[];
12882
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12883
+ } | undefined;
12884
+ bottomSide?: {
12885
+ pins: (string | number)[];
12886
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12887
+ } | undefined;
12888
+ leftPinCount?: number | undefined;
12889
+ rightPinCount?: number | undefined;
12890
+ topPinCount?: number | undefined;
12891
+ bottomPinCount?: number | undefined;
12892
+ }, {
12893
+ leftSize?: number | undefined;
12894
+ topSize?: number | undefined;
12895
+ rightSize?: number | undefined;
12896
+ bottomSize?: number | undefined;
12897
+ leftSide?: {
12898
+ pins: (string | number)[];
12899
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12900
+ } | undefined;
12901
+ topSide?: {
12902
+ pins: (string | number)[];
12903
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12904
+ } | undefined;
12905
+ rightSide?: {
12906
+ pins: (string | number)[];
12907
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12908
+ } | undefined;
12909
+ bottomSide?: {
12910
+ pins: (string | number)[];
12911
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
12912
+ } | undefined;
12913
+ leftPinCount?: number | undefined;
12914
+ rightPinCount?: number | undefined;
12915
+ topPinCount?: number | undefined;
12916
+ bottomPinCount?: number | undefined;
12917
+ }>>;
12662
12918
  schPortArrangement: z.ZodOptional<z.ZodObject<{
12663
12919
  leftSize: z.ZodOptional<z.ZodNumber>;
12664
12920
  topSize: z.ZodOptional<z.ZodNumber>;
@@ -12851,6 +13107,32 @@ declare const solderjumperProps: z.ZodObject<{
12851
13107
  pinLabels?: Record<string | number, string | string[]> | undefined;
12852
13108
  pcbPinLabels?: Record<string, string> | undefined;
12853
13109
  internallyConnectedPins?: string[][] | undefined;
13110
+ schPinArrangement?: {
13111
+ leftSize?: number | undefined;
13112
+ topSize?: number | undefined;
13113
+ rightSize?: number | undefined;
13114
+ bottomSize?: number | undefined;
13115
+ leftSide?: {
13116
+ pins: (string | number)[];
13117
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13118
+ } | undefined;
13119
+ topSide?: {
13120
+ pins: (string | number)[];
13121
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13122
+ } | undefined;
13123
+ rightSide?: {
13124
+ pins: (string | number)[];
13125
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13126
+ } | undefined;
13127
+ bottomSide?: {
13128
+ pins: (string | number)[];
13129
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13130
+ } | undefined;
13131
+ leftPinCount?: number | undefined;
13132
+ rightPinCount?: number | undefined;
13133
+ topPinCount?: number | undefined;
13134
+ bottomPinCount?: number | undefined;
13135
+ } | undefined;
12854
13136
  schPortArrangement?: {
12855
13137
  leftSize?: number | undefined;
12856
13138
  topSize?: number | undefined;
@@ -12980,6 +13262,32 @@ declare const solderjumperProps: z.ZodObject<{
12980
13262
  pinLabels?: Record<string | number, string | string[]> | undefined;
12981
13263
  pcbPinLabels?: Record<string, string> | undefined;
12982
13264
  internallyConnectedPins?: string[][] | undefined;
13265
+ schPinArrangement?: {
13266
+ leftSize?: number | undefined;
13267
+ topSize?: number | undefined;
13268
+ rightSize?: number | undefined;
13269
+ bottomSize?: number | undefined;
13270
+ leftSide?: {
13271
+ pins: (string | number)[];
13272
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13273
+ } | undefined;
13274
+ topSide?: {
13275
+ pins: (string | number)[];
13276
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13277
+ } | undefined;
13278
+ rightSide?: {
13279
+ pins: (string | number)[];
13280
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13281
+ } | undefined;
13282
+ bottomSide?: {
13283
+ pins: (string | number)[];
13284
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13285
+ } | undefined;
13286
+ leftPinCount?: number | undefined;
13287
+ rightPinCount?: number | undefined;
13288
+ topPinCount?: number | undefined;
13289
+ bottomPinCount?: number | undefined;
13290
+ } | undefined;
12983
13291
  schPortArrangement?: {
12984
13292
  leftSize?: number | undefined;
12985
13293
  topSize?: number | undefined;
@@ -19417,6 +19725,17 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19417
19725
  } | undefined;
19418
19726
  trace_width?: string | number | undefined;
19419
19727
  }>, "many">>;
19728
+ pcbPathRelativeTo: z.ZodOptional<z.ZodString>;
19729
+ pcbPath: z.ZodOptional<z.ZodArray<z.ZodObject<{
19730
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19731
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19732
+ }, "strip", z.ZodTypeAny, {
19733
+ x: number;
19734
+ y: number;
19735
+ }, {
19736
+ x: string | number;
19737
+ y: string | number;
19738
+ }>, "many">>;
19420
19739
  schDisplayLabel: z.ZodOptional<z.ZodString>;
19421
19740
  maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19422
19741
  } & {
@@ -19443,6 +19762,11 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19443
19762
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
19444
19763
  trace_width?: number | undefined;
19445
19764
  }[] | undefined;
19765
+ pcbPathRelativeTo?: string | undefined;
19766
+ pcbPath?: {
19767
+ x: number;
19768
+ y: number;
19769
+ }[] | undefined;
19446
19770
  schDisplayLabel?: string | undefined;
19447
19771
  }, {
19448
19772
  path: (string | {
@@ -19464,6 +19788,11 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19464
19788
  } | undefined;
19465
19789
  trace_width?: string | number | undefined;
19466
19790
  }[] | undefined;
19791
+ pcbPathRelativeTo?: string | undefined;
19792
+ pcbPath?: {
19793
+ x: string | number;
19794
+ y: string | number;
19795
+ }[] | undefined;
19467
19796
  schDisplayLabel?: string | undefined;
19468
19797
  }>, z.ZodObject<{
19469
19798
  key: z.ZodOptional<z.ZodString>;
@@ -19507,6 +19836,17 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19507
19836
  } | undefined;
19508
19837
  trace_width?: string | number | undefined;
19509
19838
  }>, "many">>;
19839
+ pcbPathRelativeTo: z.ZodOptional<z.ZodString>;
19840
+ pcbPath: z.ZodOptional<z.ZodArray<z.ZodObject<{
19841
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19842
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19843
+ }, "strip", z.ZodTypeAny, {
19844
+ x: number;
19845
+ y: number;
19846
+ }, {
19847
+ x: string | number;
19848
+ y: string | number;
19849
+ }>, "many">>;
19510
19850
  schDisplayLabel: z.ZodOptional<z.ZodString>;
19511
19851
  maxLength: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19512
19852
  } & {
@@ -19541,6 +19881,11 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19541
19881
  to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
19542
19882
  trace_width?: number | undefined;
19543
19883
  }[] | undefined;
19884
+ pcbPathRelativeTo?: string | undefined;
19885
+ pcbPath?: {
19886
+ x: number;
19887
+ y: number;
19888
+ }[] | undefined;
19544
19889
  schDisplayLabel?: string | undefined;
19545
19890
  }, {
19546
19891
  from: string | {
@@ -19565,6 +19910,11 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
19565
19910
  } | undefined;
19566
19911
  trace_width?: string | number | undefined;
19567
19912
  }[] | undefined;
19913
+ pcbPathRelativeTo?: string | undefined;
19914
+ pcbPath?: {
19915
+ x: string | number;
19916
+ y: string | number;
19917
+ }[] | undefined;
19568
19918
  schDisplayLabel?: string | undefined;
19569
19919
  }>]>;
19570
19920
  type TraceProps = z.input<typeof traceProps>;
package/dist/index.js CHANGED
@@ -613,6 +613,7 @@ var jumperProps = commonComponentProps.extend({
613
613
  schWidth: distance8.optional(),
614
614
  schHeight: distance8.optional(),
615
615
  schDirection: z28.enum(["left", "right"]).optional(),
616
+ schPinArrangement: schematicPinArrangement.optional(),
616
617
  schPortArrangement: schematicPortArrangement.optional(),
617
618
  pcbPinLabels: z28.record(z28.string(), z28.string()).optional(),
618
619
  pinCount: z28.union([z28.literal(2), z28.literal(3)]).optional(),
@@ -1036,6 +1037,8 @@ var baseTraceProps = z47.object({
1036
1037
  thickness: distance13.optional(),
1037
1038
  schematicRouteHints: z47.array(point).optional(),
1038
1039
  pcbRouteHints: z47.array(route_hint_point2).optional(),
1040
+ pcbPathRelativeTo: z47.string().optional(),
1041
+ pcbPath: z47.array(point).optional(),
1039
1042
  schDisplayLabel: z47.string().optional(),
1040
1043
  maxLength: distance13.optional()
1041
1044
  });