@tscircuit/props 0.0.321 → 0.0.322

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.
@@ -15,6 +15,7 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15
15
  width: Distance
16
16
  height: Distance
17
17
  portHints?: PortHints
18
+ coveredWithSolderMask?: boolean
18
19
  }
19
20
 
20
21
  export interface RotatedRectSmtPadProps
@@ -25,6 +26,7 @@ export interface RotatedRectSmtPadProps
25
26
  height: Distance
26
27
  ccwRotation: number
27
28
  portHints?: PortHints
29
+ coveredWithSolderMask?: boolean
28
30
  }
29
31
 
30
32
  export interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
@@ -32,6 +34,7 @@ export interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
32
34
  shape: "circle"
33
35
  radius: Distance
34
36
  portHints?: PortHints
37
+ coveredWithSolderMask?: boolean
35
38
  }
36
39
 
37
40
  export interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
@@ -41,6 +44,7 @@ export interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
41
44
  height: Distance
42
45
  radius: Distance
43
46
  portHints?: PortHints
47
+ coveredWithSolderMask?: boolean
44
48
  }
45
49
 
46
50
  export interface PolygonSmtPadProps
@@ -49,6 +53,7 @@ export interface PolygonSmtPadProps
49
53
  shape: "polygon"
50
54
  points: Point[]
51
55
  portHints?: PortHints
56
+ coveredWithSolderMask?: boolean
52
57
  }
53
58
 
54
59
  export type SmtPadProps =
@@ -70,6 +75,7 @@ export const rectSmtPadProps = pcbLayoutProps
70
75
  width: distance,
71
76
  height: distance,
72
77
  portHints: portHints.optional(),
78
+ coveredWithSolderMask: z.boolean().optional(),
73
79
  })
74
80
  type InferredRectSmtPadProps = z.input<typeof rectSmtPadProps>
75
81
  expectTypesMatch<InferredRectSmtPadProps, RectSmtPadProps>(true)
@@ -83,6 +89,7 @@ export const rotatedRectSmtPadProps = pcbLayoutProps
83
89
  height: distance,
84
90
  ccwRotation: z.number(),
85
91
  portHints: portHints.optional(),
92
+ coveredWithSolderMask: z.boolean().optional(),
86
93
  })
87
94
  type InferredRotatedRectSmtPadProps = z.input<typeof rotatedRectSmtPadProps>
88
95
  expectTypesMatch<InferredRotatedRectSmtPadProps, RotatedRectSmtPadProps>(true)
@@ -94,6 +101,7 @@ export const circleSmtPadProps = pcbLayoutProps
94
101
  shape: z.literal("circle"),
95
102
  radius: distance,
96
103
  portHints: portHints.optional(),
104
+ coveredWithSolderMask: z.boolean().optional(),
97
105
  })
98
106
  type InferredCircleSmtPadProps = z.input<typeof circleSmtPadProps>
99
107
  expectTypesMatch<InferredCircleSmtPadProps, CircleSmtPadProps>(true)
@@ -107,6 +115,7 @@ export const pillSmtPadProps = pcbLayoutProps
107
115
  height: distance,
108
116
  radius: distance,
109
117
  portHints: portHints.optional(),
118
+ coveredWithSolderMask: z.boolean().optional(),
110
119
  })
111
120
  type InferredPillSmtPadProps = z.input<typeof pillSmtPadProps>
112
121
  expectTypesMatch<InferredPillSmtPadProps, PillSmtPadProps>(true)
@@ -118,6 +127,7 @@ export const polygonSmtPadProps = pcbLayoutProps
118
127
  shape: z.literal("polygon"),
119
128
  points: z.array(point),
120
129
  portHints: portHints.optional(),
130
+ coveredWithSolderMask: z.boolean().optional(),
121
131
  })
122
132
  type InferredPolygonSmtPadProps = z.input<typeof polygonSmtPadProps>
123
133
  expectTypesMatch<InferredPolygonSmtPadProps, PolygonSmtPadProps>(true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.321",
3
+ "version": "0.0.322",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",