@tscircuit/props 0.0.700 → 0.0.701

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.
@@ -244,6 +244,13 @@ export interface CommonComponentProps<PinLabel extends string = string>
244
244
  children?: any
245
245
  symbolName?: string
246
246
  doNotPlace?: boolean
247
+ /**
248
+ * Whether this component is surface mounted. True marks it as SMT; false
249
+ * marks it as through hole. Omit to let core infer the mounting style from
250
+ * the footprint. Parsed unchanged, with no aliases or schema conflicts.
251
+ * Core determines solder paste generation, including for plated-hole pads.
252
+ */
253
+ isSmt?: boolean
247
254
  /**
248
255
  * Allows the PCB component to hang off the board (e.g. for USB ports or displays)
249
256
  */
@@ -299,6 +306,12 @@ export const commonComponentProps = commonLayoutProps
299
306
  children: z.any().optional(),
300
307
  symbolName: z.string().optional(),
301
308
  doNotPlace: z.boolean().optional(),
309
+ isSmt: z
310
+ .boolean()
311
+ .optional()
312
+ .describe(
313
+ "Whether this component is surface mounted. True marks it as SMT; false marks it as through hole. Omit to let core infer mounting style from the footprint. Parsed unchanged with no aliases or schema conflicts; core determines solder paste generation, including for plated-hole pads.",
314
+ ),
302
315
  allowOffBoard: z
303
316
  .boolean()
304
317
  .optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.700",
3
+ "version": "0.0.701",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",