@tscircuit/props 0.0.281 → 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 +4 -0
- package/dist/index.d.ts +308 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/jumper.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -523,6 +523,10 @@ export interface JumperProps extends CommonComponentProps {
|
|
|
523
523
|
schWidth?: number | string;
|
|
524
524
|
schHeight?: number | string;
|
|
525
525
|
schDirection?: "left" | "right";
|
|
526
|
+
schPinArrangement?: SchematicPortArrangement;
|
|
527
|
+
/**
|
|
528
|
+
* @deprecated Use schPinArrangement instead.
|
|
529
|
+
*/
|
|
526
530
|
schPortArrangement?: SchematicPortArrangement;
|
|
527
531
|
/**
|
|
528
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;
|
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(),
|