@tscircuit/props 0.0.322 → 0.0.324
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 +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -0
- package/lib/components/platedhole.ts +2 -0
- package/lib/components/smtpad.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4898,6 +4898,7 @@ interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
4898
4898
|
pcbFlexColumn?: boolean;
|
|
4899
4899
|
pcbGap?: number | string;
|
|
4900
4900
|
pcbPack?: boolean;
|
|
4901
|
+
pcbPackGap?: number | string;
|
|
4901
4902
|
schGrid?: boolean;
|
|
4902
4903
|
schGridCols?: number | string;
|
|
4903
4904
|
schGridRows?: number | string;
|
|
@@ -5103,6 +5104,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5103
5104
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
5104
5105
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5105
5106
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
5107
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5106
5108
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
5107
5109
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5108
5110
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -5568,6 +5570,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5568
5570
|
pcbFlexColumn?: boolean | undefined;
|
|
5569
5571
|
pcbGap?: string | number | undefined;
|
|
5570
5572
|
pcbPack?: boolean | undefined;
|
|
5573
|
+
pcbPackGap?: string | number | undefined;
|
|
5571
5574
|
schGrid?: boolean | undefined;
|
|
5572
5575
|
schGridCols?: string | number | undefined;
|
|
5573
5576
|
schGridRows?: string | number | undefined;
|
|
@@ -5761,6 +5764,7 @@ declare const baseGroupProps: z.ZodObject<{
|
|
|
5761
5764
|
pcbFlexColumn?: boolean | undefined;
|
|
5762
5765
|
pcbGap?: string | number | undefined;
|
|
5763
5766
|
pcbPack?: boolean | undefined;
|
|
5767
|
+
pcbPackGap?: string | number | undefined;
|
|
5764
5768
|
schGrid?: boolean | undefined;
|
|
5765
5769
|
schGridCols?: string | number | undefined;
|
|
5766
5770
|
schGridRows?: string | number | undefined;
|
|
@@ -5836,6 +5840,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
5836
5840
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
5837
5841
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5838
5842
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
5843
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5839
5844
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
5840
5845
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
5841
5846
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -6525,6 +6530,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
6525
6530
|
pcbFlexColumn?: boolean | undefined;
|
|
6526
6531
|
pcbGap?: string | number | undefined;
|
|
6527
6532
|
pcbPack?: boolean | undefined;
|
|
6533
|
+
pcbPackGap?: string | number | undefined;
|
|
6528
6534
|
schGrid?: boolean | undefined;
|
|
6529
6535
|
schGridCols?: string | number | undefined;
|
|
6530
6536
|
schGridRows?: string | number | undefined;
|
|
@@ -6775,6 +6781,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
6775
6781
|
pcbFlexColumn?: boolean | undefined;
|
|
6776
6782
|
pcbGap?: string | number | undefined;
|
|
6777
6783
|
pcbPack?: boolean | undefined;
|
|
6784
|
+
pcbPackGap?: string | number | undefined;
|
|
6778
6785
|
schGrid?: boolean | undefined;
|
|
6779
6786
|
schGridCols?: string | number | undefined;
|
|
6780
6787
|
schGridRows?: string | number | undefined;
|
|
@@ -6908,6 +6915,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
6908
6915
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
6909
6916
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6910
6917
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
6918
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6911
6919
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
6912
6920
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
6913
6921
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -7600,6 +7608,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
7600
7608
|
pcbFlexColumn?: boolean | undefined;
|
|
7601
7609
|
pcbGap?: string | number | undefined;
|
|
7602
7610
|
pcbPack?: boolean | undefined;
|
|
7611
|
+
pcbPackGap?: string | number | undefined;
|
|
7603
7612
|
schGrid?: boolean | undefined;
|
|
7604
7613
|
schGridCols?: string | number | undefined;
|
|
7605
7614
|
schGridRows?: string | number | undefined;
|
|
@@ -7851,6 +7860,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
7851
7860
|
pcbFlexColumn?: boolean | undefined;
|
|
7852
7861
|
pcbGap?: string | number | undefined;
|
|
7853
7862
|
pcbPack?: boolean | undefined;
|
|
7863
|
+
pcbPackGap?: string | number | undefined;
|
|
7854
7864
|
schGrid?: boolean | undefined;
|
|
7855
7865
|
schGridCols?: string | number | undefined;
|
|
7856
7866
|
schGridRows?: string | number | undefined;
|
|
@@ -7985,6 +7995,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
7985
7995
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
7986
7996
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7987
7997
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
7998
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7988
7999
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
7989
8000
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
7990
8001
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -8452,6 +8463,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8452
8463
|
pcbFlexColumn?: boolean | undefined;
|
|
8453
8464
|
pcbGap?: string | number | undefined;
|
|
8454
8465
|
pcbPack?: boolean | undefined;
|
|
8466
|
+
pcbPackGap?: string | number | undefined;
|
|
8455
8467
|
schGrid?: boolean | undefined;
|
|
8456
8468
|
schGridCols?: string | number | undefined;
|
|
8457
8469
|
schGridRows?: string | number | undefined;
|
|
@@ -8646,6 +8658,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8646
8658
|
pcbFlexColumn?: boolean | undefined;
|
|
8647
8659
|
pcbGap?: string | number | undefined;
|
|
8648
8660
|
pcbPack?: boolean | undefined;
|
|
8661
|
+
pcbPackGap?: string | number | undefined;
|
|
8649
8662
|
schGrid?: boolean | undefined;
|
|
8650
8663
|
schGridCols?: string | number | undefined;
|
|
8651
8664
|
schGridRows?: string | number | undefined;
|
|
@@ -8720,6 +8733,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
8720
8733
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
8721
8734
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8722
8735
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
8736
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8723
8737
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
8724
8738
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
8725
8739
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -9412,6 +9426,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9412
9426
|
pcbFlexColumn?: boolean | undefined;
|
|
9413
9427
|
pcbGap?: string | number | undefined;
|
|
9414
9428
|
pcbPack?: boolean | undefined;
|
|
9429
|
+
pcbPackGap?: string | number | undefined;
|
|
9415
9430
|
schGrid?: boolean | undefined;
|
|
9416
9431
|
schGridCols?: string | number | undefined;
|
|
9417
9432
|
schGridRows?: string | number | undefined;
|
|
@@ -9663,6 +9678,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
9663
9678
|
pcbFlexColumn?: boolean | undefined;
|
|
9664
9679
|
pcbGap?: string | number | undefined;
|
|
9665
9680
|
pcbPack?: boolean | undefined;
|
|
9681
|
+
pcbPackGap?: string | number | undefined;
|
|
9666
9682
|
schGrid?: boolean | undefined;
|
|
9667
9683
|
schGridCols?: string | number | undefined;
|
|
9668
9684
|
schGridRows?: string | number | undefined;
|
|
@@ -9803,6 +9819,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
9803
9819
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
9804
9820
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9805
9821
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
9822
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9806
9823
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
9807
9824
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
9808
9825
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -10498,6 +10515,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
10498
10515
|
pcbFlexColumn?: boolean | undefined;
|
|
10499
10516
|
pcbGap?: string | number | undefined;
|
|
10500
10517
|
pcbPack?: boolean | undefined;
|
|
10518
|
+
pcbPackGap?: string | number | undefined;
|
|
10501
10519
|
schGrid?: boolean | undefined;
|
|
10502
10520
|
schGridCols?: string | number | undefined;
|
|
10503
10521
|
schGridRows?: string | number | undefined;
|
|
@@ -10749,6 +10767,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
10749
10767
|
pcbFlexColumn?: boolean | undefined;
|
|
10750
10768
|
pcbGap?: string | number | undefined;
|
|
10751
10769
|
pcbPack?: boolean | undefined;
|
|
10770
|
+
pcbPackGap?: string | number | undefined;
|
|
10752
10771
|
schGrid?: boolean | undefined;
|
|
10753
10772
|
schGridCols?: string | number | undefined;
|
|
10754
10773
|
schGridRows?: string | number | undefined;
|
|
@@ -10893,6 +10912,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
10893
10912
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
10894
10913
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
10895
10914
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
10915
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
10896
10916
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
10897
10917
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
10898
10918
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -11582,6 +11602,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11582
11602
|
pcbFlexColumn?: boolean | undefined;
|
|
11583
11603
|
pcbGap?: string | number | undefined;
|
|
11584
11604
|
pcbPack?: boolean | undefined;
|
|
11605
|
+
pcbPackGap?: string | number | undefined;
|
|
11585
11606
|
schGrid?: boolean | undefined;
|
|
11586
11607
|
schGridCols?: string | number | undefined;
|
|
11587
11608
|
schGridRows?: string | number | undefined;
|
|
@@ -11832,6 +11853,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
11832
11853
|
pcbFlexColumn?: boolean | undefined;
|
|
11833
11854
|
pcbGap?: string | number | undefined;
|
|
11834
11855
|
pcbPack?: boolean | undefined;
|
|
11856
|
+
pcbPackGap?: string | number | undefined;
|
|
11835
11857
|
schGrid?: boolean | undefined;
|
|
11836
11858
|
schGridCols?: string | number | undefined;
|
|
11837
11859
|
schGridRows?: string | number | undefined;
|
|
@@ -21180,6 +21202,7 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
21180
21202
|
holeDiameter: number | string;
|
|
21181
21203
|
rectPadWidth: number | string;
|
|
21182
21204
|
rectPadHeight: number | string;
|
|
21205
|
+
rectBorderRadius?: number | string;
|
|
21183
21206
|
holeShape?: "circle";
|
|
21184
21207
|
padShape?: "rect";
|
|
21185
21208
|
portHints?: PortHints;
|
|
@@ -21452,6 +21475,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21452
21475
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21453
21476
|
rectPadWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21454
21477
|
rectPadHeight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21478
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21455
21479
|
holeShape: z.ZodOptional<z.ZodLiteral<"circle">>;
|
|
21456
21480
|
padShape: z.ZodOptional<z.ZodLiteral<"rect">>;
|
|
21457
21481
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -21476,6 +21500,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21476
21500
|
name?: string | undefined;
|
|
21477
21501
|
connectsTo?: string | string[] | undefined;
|
|
21478
21502
|
portHints?: (string | number)[] | undefined;
|
|
21503
|
+
rectBorderRadius?: number | undefined;
|
|
21479
21504
|
holeShape?: "circle" | undefined;
|
|
21480
21505
|
padShape?: "rect" | undefined;
|
|
21481
21506
|
pcbHoleOffsetX?: number | undefined;
|
|
@@ -21499,6 +21524,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21499
21524
|
name?: string | undefined;
|
|
21500
21525
|
connectsTo?: string | string[] | undefined;
|
|
21501
21526
|
portHints?: (string | number)[] | undefined;
|
|
21527
|
+
rectBorderRadius?: string | number | undefined;
|
|
21502
21528
|
holeShape?: "circle" | undefined;
|
|
21503
21529
|
padShape?: "rect" | undefined;
|
|
21504
21530
|
pcbHoleOffsetX?: string | number | undefined;
|
|
@@ -21663,6 +21689,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21663
21689
|
name?: string | undefined;
|
|
21664
21690
|
connectsTo?: string | string[] | undefined;
|
|
21665
21691
|
portHints?: (string | number)[] | undefined;
|
|
21692
|
+
rectBorderRadius?: number | undefined;
|
|
21666
21693
|
holeShape?: "circle" | undefined;
|
|
21667
21694
|
padShape?: "rect" | undefined;
|
|
21668
21695
|
pcbHoleOffsetX?: number | undefined;
|
|
@@ -21772,6 +21799,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
21772
21799
|
name?: string | undefined;
|
|
21773
21800
|
connectsTo?: string | string[] | undefined;
|
|
21774
21801
|
portHints?: (string | number)[] | undefined;
|
|
21802
|
+
rectBorderRadius?: string | number | undefined;
|
|
21775
21803
|
holeShape?: "circle" | undefined;
|
|
21776
21804
|
padShape?: "rect" | undefined;
|
|
21777
21805
|
pcbHoleOffsetX?: string | number | undefined;
|
|
@@ -25826,6 +25854,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
25826
25854
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
25827
25855
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25828
25856
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
25857
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25829
25858
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
25830
25859
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25831
25860
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -26536,6 +26565,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26536
26565
|
pcbFlexColumn?: boolean | undefined;
|
|
26537
26566
|
pcbGap?: string | number | undefined;
|
|
26538
26567
|
pcbPack?: boolean | undefined;
|
|
26568
|
+
pcbPackGap?: string | number | undefined;
|
|
26539
26569
|
schGrid?: boolean | undefined;
|
|
26540
26570
|
schGridCols?: string | number | undefined;
|
|
26541
26571
|
schGridRows?: string | number | undefined;
|
|
@@ -26797,6 +26827,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26797
26827
|
pcbFlexColumn?: boolean | undefined;
|
|
26798
26828
|
pcbGap?: string | number | undefined;
|
|
26799
26829
|
pcbPack?: boolean | undefined;
|
|
26830
|
+
pcbPackGap?: string | number | undefined;
|
|
26800
26831
|
schGrid?: boolean | undefined;
|
|
26801
26832
|
schGridCols?: string | number | undefined;
|
|
26802
26833
|
schGridRows?: string | number | undefined;
|
|
@@ -28534,6 +28565,7 @@ interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
28534
28565
|
shape: "rect";
|
|
28535
28566
|
width: Distance;
|
|
28536
28567
|
height: Distance;
|
|
28568
|
+
rectBorderRadius?: Distance;
|
|
28537
28569
|
portHints?: PortHints;
|
|
28538
28570
|
coveredWithSolderMask?: boolean;
|
|
28539
28571
|
}
|
|
@@ -28597,6 +28629,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28597
28629
|
shape: z.ZodLiteral<"rect">;
|
|
28598
28630
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28599
28631
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28632
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28600
28633
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28601
28634
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28602
28635
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28617,6 +28650,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28617
28650
|
relative?: boolean | undefined;
|
|
28618
28651
|
name?: string | undefined;
|
|
28619
28652
|
portHints?: (string | number)[] | undefined;
|
|
28653
|
+
rectBorderRadius?: number | undefined;
|
|
28620
28654
|
coveredWithSolderMask?: boolean | undefined;
|
|
28621
28655
|
}, {
|
|
28622
28656
|
shape: "rect";
|
|
@@ -28638,6 +28672,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28638
28672
|
relative?: boolean | undefined;
|
|
28639
28673
|
name?: string | undefined;
|
|
28640
28674
|
portHints?: (string | number)[] | undefined;
|
|
28675
|
+
rectBorderRadius?: string | number | undefined;
|
|
28641
28676
|
coveredWithSolderMask?: boolean | undefined;
|
|
28642
28677
|
}>;
|
|
28643
28678
|
declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -29028,6 +29063,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29028
29063
|
shape: z.ZodLiteral<"rect">;
|
|
29029
29064
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29030
29065
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29066
|
+
rectBorderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29031
29067
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29032
29068
|
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29033
29069
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -29048,6 +29084,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29048
29084
|
relative?: boolean | undefined;
|
|
29049
29085
|
name?: string | undefined;
|
|
29050
29086
|
portHints?: (string | number)[] | undefined;
|
|
29087
|
+
rectBorderRadius?: number | undefined;
|
|
29051
29088
|
coveredWithSolderMask?: boolean | undefined;
|
|
29052
29089
|
}, {
|
|
29053
29090
|
shape: "rect";
|
|
@@ -29069,6 +29106,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29069
29106
|
relative?: boolean | undefined;
|
|
29070
29107
|
name?: string | undefined;
|
|
29071
29108
|
portHints?: (string | number)[] | undefined;
|
|
29109
|
+
rectBorderRadius?: string | number | undefined;
|
|
29072
29110
|
coveredWithSolderMask?: boolean | undefined;
|
|
29073
29111
|
}>, z.ZodObject<Omit<{
|
|
29074
29112
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -33727,6 +33765,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
33727
33765
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
33728
33766
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33729
33767
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
33768
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33730
33769
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
33731
33770
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33732
33771
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -34416,6 +34455,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34416
34455
|
pcbFlexColumn?: boolean | undefined;
|
|
34417
34456
|
pcbGap?: string | number | undefined;
|
|
34418
34457
|
pcbPack?: boolean | undefined;
|
|
34458
|
+
pcbPackGap?: string | number | undefined;
|
|
34419
34459
|
schGrid?: boolean | undefined;
|
|
34420
34460
|
schGridCols?: string | number | undefined;
|
|
34421
34461
|
schGridRows?: string | number | undefined;
|
|
@@ -34666,6 +34706,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34666
34706
|
pcbFlexColumn?: boolean | undefined;
|
|
34667
34707
|
pcbGap?: string | number | undefined;
|
|
34668
34708
|
pcbPack?: boolean | undefined;
|
|
34709
|
+
pcbPackGap?: string | number | undefined;
|
|
34669
34710
|
schGrid?: boolean | undefined;
|
|
34670
34711
|
schGridCols?: string | number | undefined;
|
|
34671
34712
|
schGridRows?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -518,6 +518,7 @@ var baseGroupProps = commonLayoutProps.extend({
|
|
|
518
518
|
pcbFlexColumn: z25.boolean().optional(),
|
|
519
519
|
pcbGap: z25.number().or(z25.string()).optional(),
|
|
520
520
|
pcbPack: z25.boolean().optional(),
|
|
521
|
+
pcbPackGap: z25.number().or(z25.string()).optional(),
|
|
521
522
|
schGrid: z25.boolean().optional(),
|
|
522
523
|
schGridCols: z25.number().or(z25.string()).optional(),
|
|
523
524
|
schGridRows: z25.number().or(z25.string()).optional(),
|
|
@@ -780,6 +781,7 @@ var platedHoleProps = z34.discriminatedUnion("shape", [
|
|
|
780
781
|
holeDiameter: distance11,
|
|
781
782
|
rectPadWidth: distance11,
|
|
782
783
|
rectPadHeight: distance11,
|
|
784
|
+
rectBorderRadius: distance11.optional(),
|
|
783
785
|
holeShape: z34.literal("circle").optional(),
|
|
784
786
|
padShape: z34.literal("rect").optional(),
|
|
785
787
|
portHints: portHints.optional(),
|
|
@@ -1011,6 +1013,7 @@ var rectSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
1011
1013
|
shape: z45.literal("rect"),
|
|
1012
1014
|
width: distance,
|
|
1013
1015
|
height: distance,
|
|
1016
|
+
rectBorderRadius: distance.optional(),
|
|
1014
1017
|
portHints: portHints.optional(),
|
|
1015
1018
|
coveredWithSolderMask: z45.boolean().optional()
|
|
1016
1019
|
});
|