@tscircuit/props 0.0.702 → 0.0.703

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.
@@ -23,6 +23,9 @@ export interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
23
23
  solderMaskMarginRight?: Distance
24
24
  solderMaskMarginTop?: Distance
25
25
  solderMaskMarginBottom?: Distance
26
+ // Disable solder paste without affecting the solder mask.
27
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
28
+ noSolderPaste?: boolean
26
29
  solderPasteMargin?: Distance
27
30
  }
28
31
 
@@ -41,6 +44,9 @@ export interface RotatedRectSmtPadProps
41
44
  solderMaskMarginRight?: Distance
42
45
  solderMaskMarginTop?: Distance
43
46
  solderMaskMarginBottom?: Distance
47
+ // Disable solder paste without affecting the solder mask.
48
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
49
+ noSolderPaste?: boolean
44
50
  solderPasteMargin?: Distance
45
51
  }
46
52
 
@@ -51,6 +57,9 @@ export interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
51
57
  portHints?: PortHints
52
58
  coveredWithSolderMask?: boolean
53
59
  solderMaskMargin?: Distance
60
+ // Disable solder paste without affecting the solder mask.
61
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
62
+ noSolderPaste?: boolean
54
63
  solderPasteMargin?: Distance
55
64
  }
56
65
 
@@ -63,6 +72,9 @@ export interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
63
72
  portHints?: PortHints
64
73
  coveredWithSolderMask?: boolean
65
74
  solderMaskMargin?: Distance
75
+ // Disable solder paste without affecting the solder mask.
76
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
77
+ noSolderPaste?: boolean
66
78
  solderPasteMargin?: Distance
67
79
  }
68
80
 
@@ -77,6 +89,9 @@ export interface RotatedPillSmtPadProps
77
89
  portHints?: PortHints
78
90
  coveredWithSolderMask?: boolean
79
91
  solderMaskMargin?: Distance
92
+ // Disable solder paste without affecting the solder mask.
93
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
94
+ noSolderPaste?: boolean
80
95
  solderPasteMargin?: Distance
81
96
  }
82
97
 
@@ -88,6 +103,9 @@ export interface PolygonSmtPadProps
88
103
  portHints?: PortHints
89
104
  coveredWithSolderMask?: boolean
90
105
  solderMaskMargin?: Distance
106
+ // Disable solder paste without affecting the solder mask.
107
+ // Omitted or false preserves default paste behavior; true overrides solderPasteMargin.
108
+ noSolderPaste?: boolean
91
109
  solderPasteMargin?: Distance
92
110
  }
93
111
 
@@ -119,6 +137,7 @@ export const rectSmtPadProps = pcbLayoutProps
119
137
  solderMaskMarginRight: distance.optional(),
120
138
  solderMaskMarginTop: distance.optional(),
121
139
  solderMaskMarginBottom: distance.optional(),
140
+ noSolderPaste: z.boolean().optional(),
122
141
  solderPasteMargin: distance.optional(),
123
142
  })
124
143
  type InferredRectSmtPadProps = z.input<typeof rectSmtPadProps>
@@ -140,6 +159,7 @@ export const rotatedRectSmtPadProps = pcbLayoutProps
140
159
  solderMaskMarginRight: distance.optional(),
141
160
  solderMaskMarginTop: distance.optional(),
142
161
  solderMaskMarginBottom: distance.optional(),
162
+ noSolderPaste: z.boolean().optional(),
143
163
  solderPasteMargin: distance.optional(),
144
164
  })
145
165
  type InferredRotatedRectSmtPadProps = z.input<typeof rotatedRectSmtPadProps>
@@ -154,6 +174,7 @@ export const circleSmtPadProps = pcbLayoutProps
154
174
  portHints: portHints.optional(),
155
175
  coveredWithSolderMask: z.boolean().optional(),
156
176
  solderMaskMargin: distance.optional(),
177
+ noSolderPaste: z.boolean().optional(),
157
178
  solderPasteMargin: distance.optional(),
158
179
  })
159
180
  type InferredCircleSmtPadProps = z.input<typeof circleSmtPadProps>
@@ -170,6 +191,7 @@ export const pillSmtPadProps = pcbLayoutProps
170
191
  portHints: portHints.optional(),
171
192
  coveredWithSolderMask: z.boolean().optional(),
172
193
  solderMaskMargin: distance.optional(),
194
+ noSolderPaste: z.boolean().optional(),
173
195
  solderPasteMargin: distance.optional(),
174
196
  })
175
197
  type InferredPillSmtPadProps = z.input<typeof pillSmtPadProps>
@@ -187,6 +209,7 @@ export const rotatedPillSmtPadProps = pcbLayoutProps
187
209
  portHints: portHints.optional(),
188
210
  coveredWithSolderMask: z.boolean().optional(),
189
211
  solderMaskMargin: distance.optional(),
212
+ noSolderPaste: z.boolean().optional(),
190
213
  solderPasteMargin: distance.optional(),
191
214
  })
192
215
  type InferredRotatedPillSmtPadProps = z.input<typeof rotatedPillSmtPadProps>
@@ -201,6 +224,7 @@ export const polygonSmtPadProps = pcbLayoutProps
201
224
  portHints: portHints.optional(),
202
225
  coveredWithSolderMask: z.boolean().optional(),
203
226
  solderMaskMargin: distance.optional(),
227
+ noSolderPaste: z.boolean().optional(),
204
228
  solderPasteMargin: distance.optional(),
205
229
  })
206
230
  type InferredPolygonSmtPadProps = z.input<typeof polygonSmtPadProps>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.702",
3
+ "version": "0.0.703",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",