@tscircuit/props 0.0.321 → 0.0.323
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 +2 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -0
- package/lib/components/smtpad.ts +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -513,6 +513,7 @@ export interface BaseGroupProps extends CommonLayoutProps, LayoutConfig {
|
|
|
513
513
|
pcbFlexColumn?: boolean;
|
|
514
514
|
pcbGap?: number | string;
|
|
515
515
|
pcbPack?: boolean;
|
|
516
|
+
pcbPackGap?: number | string;
|
|
516
517
|
|
|
517
518
|
schGrid?: boolean;
|
|
518
519
|
schGridCols?: number | string;
|
|
@@ -879,6 +880,7 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
879
880
|
width: Distance;
|
|
880
881
|
height: Distance;
|
|
881
882
|
portHints?: PortHints;
|
|
883
|
+
coveredWithSolderMask?: boolean;
|
|
882
884
|
}
|
|
883
885
|
```
|
|
884
886
|
|
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;
|
|
@@ -25826,6 +25848,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
25826
25848
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
25827
25849
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25828
25850
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
25851
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25829
25852
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
25830
25853
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
25831
25854
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -26536,6 +26559,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26536
26559
|
pcbFlexColumn?: boolean | undefined;
|
|
26537
26560
|
pcbGap?: string | number | undefined;
|
|
26538
26561
|
pcbPack?: boolean | undefined;
|
|
26562
|
+
pcbPackGap?: string | number | undefined;
|
|
26539
26563
|
schGrid?: boolean | undefined;
|
|
26540
26564
|
schGridCols?: string | number | undefined;
|
|
26541
26565
|
schGridRows?: string | number | undefined;
|
|
@@ -26797,6 +26821,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
26797
26821
|
pcbFlexColumn?: boolean | undefined;
|
|
26798
26822
|
pcbGap?: string | number | undefined;
|
|
26799
26823
|
pcbPack?: boolean | undefined;
|
|
26824
|
+
pcbPackGap?: string | number | undefined;
|
|
26800
26825
|
schGrid?: boolean | undefined;
|
|
26801
26826
|
schGridCols?: string | number | undefined;
|
|
26802
26827
|
schGridRows?: string | number | undefined;
|
|
@@ -28535,6 +28560,7 @@ interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
28535
28560
|
width: Distance;
|
|
28536
28561
|
height: Distance;
|
|
28537
28562
|
portHints?: PortHints;
|
|
28563
|
+
coveredWithSolderMask?: boolean;
|
|
28538
28564
|
}
|
|
28539
28565
|
interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
28540
28566
|
name?: string;
|
|
@@ -28543,12 +28569,14 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
28543
28569
|
height: Distance;
|
|
28544
28570
|
ccwRotation: number;
|
|
28545
28571
|
portHints?: PortHints;
|
|
28572
|
+
coveredWithSolderMask?: boolean;
|
|
28546
28573
|
}
|
|
28547
28574
|
interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
28548
28575
|
name?: string;
|
|
28549
28576
|
shape: "circle";
|
|
28550
28577
|
radius: Distance;
|
|
28551
28578
|
portHints?: PortHints;
|
|
28579
|
+
coveredWithSolderMask?: boolean;
|
|
28552
28580
|
}
|
|
28553
28581
|
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
28554
28582
|
name?: string;
|
|
@@ -28557,12 +28585,14 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
28557
28585
|
height: Distance;
|
|
28558
28586
|
radius: Distance;
|
|
28559
28587
|
portHints?: PortHints;
|
|
28588
|
+
coveredWithSolderMask?: boolean;
|
|
28560
28589
|
}
|
|
28561
28590
|
interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
28562
28591
|
name?: string;
|
|
28563
28592
|
shape: "polygon";
|
|
28564
28593
|
points: Point[];
|
|
28565
28594
|
portHints?: PortHints;
|
|
28595
|
+
coveredWithSolderMask?: boolean;
|
|
28566
28596
|
}
|
|
28567
28597
|
type SmtPadProps = RectSmtPadProps | CircleSmtPadProps | RotatedRectSmtPadProps | PillSmtPadProps | PolygonSmtPadProps;
|
|
28568
28598
|
declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
@@ -28593,6 +28623,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28593
28623
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28594
28624
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28595
28625
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28626
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28596
28627
|
}, "strip", z.ZodTypeAny, {
|
|
28597
28628
|
shape: "rect";
|
|
28598
28629
|
width: number;
|
|
@@ -28611,6 +28642,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28611
28642
|
relative?: boolean | undefined;
|
|
28612
28643
|
name?: string | undefined;
|
|
28613
28644
|
portHints?: (string | number)[] | undefined;
|
|
28645
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28614
28646
|
}, {
|
|
28615
28647
|
shape: "rect";
|
|
28616
28648
|
width: string | number;
|
|
@@ -28631,6 +28663,7 @@ declare const rectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28631
28663
|
relative?: boolean | undefined;
|
|
28632
28664
|
name?: string | undefined;
|
|
28633
28665
|
portHints?: (string | number)[] | undefined;
|
|
28666
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28634
28667
|
}>;
|
|
28635
28668
|
declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
28636
28669
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -28661,6 +28694,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28661
28694
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28662
28695
|
ccwRotation: z.ZodNumber;
|
|
28663
28696
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28697
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28664
28698
|
}, "strip", z.ZodTypeAny, {
|
|
28665
28699
|
shape: "rotated_rect";
|
|
28666
28700
|
width: number;
|
|
@@ -28680,6 +28714,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28680
28714
|
relative?: boolean | undefined;
|
|
28681
28715
|
name?: string | undefined;
|
|
28682
28716
|
portHints?: (string | number)[] | undefined;
|
|
28717
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28683
28718
|
}, {
|
|
28684
28719
|
shape: "rotated_rect";
|
|
28685
28720
|
width: string | number;
|
|
@@ -28701,6 +28736,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<Omit<{
|
|
|
28701
28736
|
relative?: boolean | undefined;
|
|
28702
28737
|
name?: string | undefined;
|
|
28703
28738
|
portHints?: (string | number)[] | undefined;
|
|
28739
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28704
28740
|
}>;
|
|
28705
28741
|
declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
28706
28742
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -28729,6 +28765,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
28729
28765
|
shape: z.ZodLiteral<"circle">;
|
|
28730
28766
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28731
28767
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28768
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28732
28769
|
}, "strip", z.ZodTypeAny, {
|
|
28733
28770
|
shape: "circle";
|
|
28734
28771
|
radius: number;
|
|
@@ -28746,6 +28783,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
28746
28783
|
relative?: boolean | undefined;
|
|
28747
28784
|
name?: string | undefined;
|
|
28748
28785
|
portHints?: (string | number)[] | undefined;
|
|
28786
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28749
28787
|
}, {
|
|
28750
28788
|
shape: "circle";
|
|
28751
28789
|
radius: string | number;
|
|
@@ -28765,6 +28803,7 @@ declare const circleSmtPadProps: z.ZodObject<Omit<{
|
|
|
28765
28803
|
relative?: boolean | undefined;
|
|
28766
28804
|
name?: string | undefined;
|
|
28767
28805
|
portHints?: (string | number)[] | undefined;
|
|
28806
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28768
28807
|
}>;
|
|
28769
28808
|
declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
28770
28809
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -28795,6 +28834,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
28795
28834
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28796
28835
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28797
28836
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28837
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28798
28838
|
}, "strip", z.ZodTypeAny, {
|
|
28799
28839
|
shape: "pill";
|
|
28800
28840
|
width: number;
|
|
@@ -28814,6 +28854,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
28814
28854
|
relative?: boolean | undefined;
|
|
28815
28855
|
name?: string | undefined;
|
|
28816
28856
|
portHints?: (string | number)[] | undefined;
|
|
28857
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28817
28858
|
}, {
|
|
28818
28859
|
shape: "pill";
|
|
28819
28860
|
width: string | number;
|
|
@@ -28835,6 +28876,7 @@ declare const pillSmtPadProps: z.ZodObject<Omit<{
|
|
|
28835
28876
|
relative?: boolean | undefined;
|
|
28836
28877
|
name?: string | undefined;
|
|
28837
28878
|
portHints?: (string | number)[] | undefined;
|
|
28879
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28838
28880
|
}>;
|
|
28839
28881
|
declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
28840
28882
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -28872,6 +28914,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
28872
28914
|
y: string | number;
|
|
28873
28915
|
}>, "many">;
|
|
28874
28916
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28917
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28875
28918
|
}, "strip", z.ZodTypeAny, {
|
|
28876
28919
|
shape: "polygon";
|
|
28877
28920
|
points: {
|
|
@@ -28892,6 +28935,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
28892
28935
|
relative?: boolean | undefined;
|
|
28893
28936
|
name?: string | undefined;
|
|
28894
28937
|
portHints?: (string | number)[] | undefined;
|
|
28938
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28895
28939
|
}, {
|
|
28896
28940
|
shape: "polygon";
|
|
28897
28941
|
points: {
|
|
@@ -28914,6 +28958,7 @@ declare const polygonSmtPadProps: z.ZodObject<Omit<{
|
|
|
28914
28958
|
relative?: boolean | undefined;
|
|
28915
28959
|
name?: string | undefined;
|
|
28916
28960
|
portHints?: (string | number)[] | undefined;
|
|
28961
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28917
28962
|
}>;
|
|
28918
28963
|
declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
28919
28964
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -28942,6 +28987,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
28942
28987
|
shape: z.ZodLiteral<"circle">;
|
|
28943
28988
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
28944
28989
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
28990
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
28945
28991
|
}, "strip", z.ZodTypeAny, {
|
|
28946
28992
|
shape: "circle";
|
|
28947
28993
|
radius: number;
|
|
@@ -28959,6 +29005,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
28959
29005
|
relative?: boolean | undefined;
|
|
28960
29006
|
name?: string | undefined;
|
|
28961
29007
|
portHints?: (string | number)[] | undefined;
|
|
29008
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28962
29009
|
}, {
|
|
28963
29010
|
shape: "circle";
|
|
28964
29011
|
radius: string | number;
|
|
@@ -28978,6 +29025,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
28978
29025
|
relative?: boolean | undefined;
|
|
28979
29026
|
name?: string | undefined;
|
|
28980
29027
|
portHints?: (string | number)[] | undefined;
|
|
29028
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
28981
29029
|
}>, z.ZodObject<Omit<{
|
|
28982
29030
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28983
29031
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29006,6 +29054,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29006
29054
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29007
29055
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29008
29056
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29057
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29009
29058
|
}, "strip", z.ZodTypeAny, {
|
|
29010
29059
|
shape: "rect";
|
|
29011
29060
|
width: number;
|
|
@@ -29024,6 +29073,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29024
29073
|
relative?: boolean | undefined;
|
|
29025
29074
|
name?: string | undefined;
|
|
29026
29075
|
portHints?: (string | number)[] | undefined;
|
|
29076
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29027
29077
|
}, {
|
|
29028
29078
|
shape: "rect";
|
|
29029
29079
|
width: string | number;
|
|
@@ -29044,6 +29094,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29044
29094
|
relative?: boolean | undefined;
|
|
29045
29095
|
name?: string | undefined;
|
|
29046
29096
|
portHints?: (string | number)[] | undefined;
|
|
29097
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29047
29098
|
}>, z.ZodObject<Omit<{
|
|
29048
29099
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29049
29100
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29073,6 +29124,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29073
29124
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29074
29125
|
ccwRotation: z.ZodNumber;
|
|
29075
29126
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29127
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29076
29128
|
}, "strip", z.ZodTypeAny, {
|
|
29077
29129
|
shape: "rotated_rect";
|
|
29078
29130
|
width: number;
|
|
@@ -29092,6 +29144,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29092
29144
|
relative?: boolean | undefined;
|
|
29093
29145
|
name?: string | undefined;
|
|
29094
29146
|
portHints?: (string | number)[] | undefined;
|
|
29147
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29095
29148
|
}, {
|
|
29096
29149
|
shape: "rotated_rect";
|
|
29097
29150
|
width: string | number;
|
|
@@ -29113,6 +29166,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29113
29166
|
relative?: boolean | undefined;
|
|
29114
29167
|
name?: string | undefined;
|
|
29115
29168
|
portHints?: (string | number)[] | undefined;
|
|
29169
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29116
29170
|
}>, z.ZodObject<Omit<{
|
|
29117
29171
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29118
29172
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29142,6 +29196,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29142
29196
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29143
29197
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29144
29198
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29199
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29145
29200
|
}, "strip", z.ZodTypeAny, {
|
|
29146
29201
|
shape: "pill";
|
|
29147
29202
|
width: number;
|
|
@@ -29161,6 +29216,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29161
29216
|
relative?: boolean | undefined;
|
|
29162
29217
|
name?: string | undefined;
|
|
29163
29218
|
portHints?: (string | number)[] | undefined;
|
|
29219
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29164
29220
|
}, {
|
|
29165
29221
|
shape: "pill";
|
|
29166
29222
|
width: string | number;
|
|
@@ -29182,6 +29238,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29182
29238
|
relative?: boolean | undefined;
|
|
29183
29239
|
name?: string | undefined;
|
|
29184
29240
|
portHints?: (string | number)[] | undefined;
|
|
29241
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29185
29242
|
}>, z.ZodObject<Omit<{
|
|
29186
29243
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
29187
29244
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29218,6 +29275,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29218
29275
|
y: string | number;
|
|
29219
29276
|
}>, "many">;
|
|
29220
29277
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
29278
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
29221
29279
|
}, "strip", z.ZodTypeAny, {
|
|
29222
29280
|
shape: "polygon";
|
|
29223
29281
|
points: {
|
|
@@ -29238,6 +29296,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29238
29296
|
relative?: boolean | undefined;
|
|
29239
29297
|
name?: string | undefined;
|
|
29240
29298
|
portHints?: (string | number)[] | undefined;
|
|
29299
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29241
29300
|
}, {
|
|
29242
29301
|
shape: "polygon";
|
|
29243
29302
|
points: {
|
|
@@ -29260,6 +29319,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<Omit<{
|
|
|
29260
29319
|
relative?: boolean | undefined;
|
|
29261
29320
|
name?: string | undefined;
|
|
29262
29321
|
portHints?: (string | number)[] | undefined;
|
|
29322
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
29263
29323
|
}>]>;
|
|
29264
29324
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
29265
29325
|
|
|
@@ -33692,6 +33752,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
33692
33752
|
pcbFlexColumn: z.ZodOptional<z.ZodBoolean>;
|
|
33693
33753
|
pcbGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33694
33754
|
pcbPack: z.ZodOptional<z.ZodBoolean>;
|
|
33755
|
+
pcbPackGap: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33695
33756
|
schGrid: z.ZodOptional<z.ZodBoolean>;
|
|
33696
33757
|
schGridCols: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
33697
33758
|
schGridRows: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -34381,6 +34442,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34381
34442
|
pcbFlexColumn?: boolean | undefined;
|
|
34382
34443
|
pcbGap?: string | number | undefined;
|
|
34383
34444
|
pcbPack?: boolean | undefined;
|
|
34445
|
+
pcbPackGap?: string | number | undefined;
|
|
34384
34446
|
schGrid?: boolean | undefined;
|
|
34385
34447
|
schGridCols?: string | number | undefined;
|
|
34386
34448
|
schGridRows?: string | number | undefined;
|
|
@@ -34631,6 +34693,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
34631
34693
|
pcbFlexColumn?: boolean | undefined;
|
|
34632
34694
|
pcbGap?: string | number | undefined;
|
|
34633
34695
|
pcbPack?: boolean | undefined;
|
|
34696
|
+
pcbPackGap?: string | number | undefined;
|
|
34634
34697
|
schGrid?: boolean | undefined;
|
|
34635
34698
|
schGridCols?: string | number | undefined;
|
|
34636
34699
|
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(),
|
|
@@ -1011,7 +1012,8 @@ var rectSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
1011
1012
|
shape: z45.literal("rect"),
|
|
1012
1013
|
width: distance,
|
|
1013
1014
|
height: distance,
|
|
1014
|
-
portHints: portHints.optional()
|
|
1015
|
+
portHints: portHints.optional(),
|
|
1016
|
+
coveredWithSolderMask: z45.boolean().optional()
|
|
1015
1017
|
});
|
|
1016
1018
|
expectTypesMatch(true);
|
|
1017
1019
|
var rotatedRectSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
@@ -1020,14 +1022,16 @@ var rotatedRectSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
1020
1022
|
width: distance,
|
|
1021
1023
|
height: distance,
|
|
1022
1024
|
ccwRotation: z45.number(),
|
|
1023
|
-
portHints: portHints.optional()
|
|
1025
|
+
portHints: portHints.optional(),
|
|
1026
|
+
coveredWithSolderMask: z45.boolean().optional()
|
|
1024
1027
|
});
|
|
1025
1028
|
expectTypesMatch(true);
|
|
1026
1029
|
var circleSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
1027
1030
|
name: z45.string().optional(),
|
|
1028
1031
|
shape: z45.literal("circle"),
|
|
1029
1032
|
radius: distance,
|
|
1030
|
-
portHints: portHints.optional()
|
|
1033
|
+
portHints: portHints.optional(),
|
|
1034
|
+
coveredWithSolderMask: z45.boolean().optional()
|
|
1031
1035
|
});
|
|
1032
1036
|
expectTypesMatch(true);
|
|
1033
1037
|
var pillSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
@@ -1036,14 +1040,16 @@ var pillSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
|
1036
1040
|
width: distance,
|
|
1037
1041
|
height: distance,
|
|
1038
1042
|
radius: distance,
|
|
1039
|
-
portHints: portHints.optional()
|
|
1043
|
+
portHints: portHints.optional(),
|
|
1044
|
+
coveredWithSolderMask: z45.boolean().optional()
|
|
1040
1045
|
});
|
|
1041
1046
|
expectTypesMatch(true);
|
|
1042
1047
|
var polygonSmtPadProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
|
|
1043
1048
|
name: z45.string().optional(),
|
|
1044
1049
|
shape: z45.literal("polygon"),
|
|
1045
1050
|
points: z45.array(point),
|
|
1046
|
-
portHints: portHints.optional()
|
|
1051
|
+
portHints: portHints.optional(),
|
|
1052
|
+
coveredWithSolderMask: z45.boolean().optional()
|
|
1047
1053
|
});
|
|
1048
1054
|
expectTypesMatch(true);
|
|
1049
1055
|
var smtPadProps = z45.discriminatedUnion("shape", [
|